From d0c6a1b4b49128dd20d4919c98616f0061cbc2ed Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 22 Aug 2023 22:45:57 +0900 Subject: chore!: use keyd to manage key remaps --- nixos/alpha/configuration.nix | 2 ++ nixos/default.nix | 1 + 2 files changed, 3 insertions(+) (limited to 'nixos') 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 ]; }; -- cgit 1.4.1