From 9001cdc2a46010a762efa1087d992b1c6deec09b Mon Sep 17 00:00:00 2001 From: Jimbo Date: Fri, 18 Oct 2024 20:26:32 -0400 Subject: [PATCH] Keyd. Hoo boy. --- modules/system/services/pc/default.nix | 1 + modules/system/services/pc/keyd/default.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 modules/system/services/pc/keyd/default.nix diff --git a/modules/system/services/pc/default.nix b/modules/system/services/pc/default.nix index 6ef700e..40cfcb2 100644 --- a/modules/system/services/pc/default.nix +++ b/modules/system/services/pc/default.nix @@ -3,6 +3,7 @@ imports = [ ./fwupd ./gnome-keyring + ./keyd ./mpd ./networkfs ./polkit diff --git a/modules/system/services/pc/keyd/default.nix b/modules/system/services/pc/keyd/default.nix new file mode 100644 index 0000000..a9d60b7 --- /dev/null +++ b/modules/system/services/pc/keyd/default.nix @@ -0,0 +1,14 @@ +{ ... }: +{ + services.keyd = { + enable = true; + keyboards.default = { + ids = [ "*" ]; + settings.main = { + capslock = "overload(control, esc)"; + leftcontrol = "leftmeta"; + f13 = "delete"; + }; + }; + }; +}