2020-10-01 15:46:04 -07:00
|
|
|
{ options, config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
with lib.my;
|
|
|
|
let cfg = config.modules.hardware.ergodox;
|
|
|
|
in {
|
|
|
|
options.modules.hardware.ergodox = {
|
|
|
|
enable = mkBoolOpt false;
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2021-02-06 20:33:09 -08:00
|
|
|
user.packages = [ pkgs.unstable.wally-cli ];
|
|
|
|
|
|
|
|
hardware.keyboard.zsa.enable = true;
|
|
|
|
|
|
|
|
user.extraGroups = [ "plugdev" ];
|
|
|
|
|
2020-10-01 15:46:04 -07:00
|
|
|
services.xserver.xkbOptions = "compose:ralt";
|
|
|
|
};
|
|
|
|
}
|