aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixos/configuration.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index 33fe84a..8abac3b 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -24,6 +24,22 @@
};
services.pcscd.enable = true;
+ services.keyd = {
+ enable = true;
+ keyboards = {
+ default = {
+ ids = ["*"];
+ settings = {
+ main = {
+ capslock = "overload(control, esc)";
+ esc = "capslock";
+ };
+ };
+ extraConfig = ''
+ '';
+ };
+ };
+ };
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-gtk2;