diff options
author | sefidel <contact@sefidel.net> | 2023-08-22 22:45:57 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-08-22 22:45:57 +0900 |
commit | d0c6a1b4b49128dd20d4919c98616f0061cbc2ed (patch) | |
tree | 785b2230cec01e9392a1a3b097ae7dec0d2ffe57 /nixos | |
parent | ffb90b9e874e4cca5ea03c4c9f242b5c7dba6d1c (diff) | |
download | nixrc-d0c6a1b4b49128dd20d4919c98616f0061cbc2ed.tar.gz nixrc-d0c6a1b4b49128dd20d4919c98616f0061cbc2ed.zip |
chore!: use keyd to manage key remaps
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/alpha/configuration.nix | 2 | ||||
-rw-r--r-- | nixos/default.nix | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix index ca69a37..2dbcb0a 100644 --- a/nixos/alpha/configuration.nix +++ b/nixos/alpha/configuration.nix @@ -162,6 +162,8 @@ hardware.bluetooth.enable = true; hardware.logitech.wireless.enable = true; + services.keyd-qol.enable = true; + services.udev.extraRules = '' # Logitech receiver for superlight, causes premature wakeup from suspend ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c547", ATTR{power/wakeup}="disabled" diff --git a/nixos/default.nix b/nixos/default.nix index ed40dad..86ab055 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -7,6 +7,7 @@ extraModules = [ ../modules/security.nix ../modules/cachix + ../modules/keyd-qol.nix inputs.sops-nix.nixosModules.sops ]; }; |