about summary refs log tree commit diff
path: root/configs/.config/nixpkgs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-10T22·04+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-10T23·07+0000
commitad77311c94224fcb039995b2e5941ff399e83c8e (patch)
treec05b7b5030696e8ec22535b980cef080e8ee6afc /configs/.config/nixpkgs
parentb6a803d99d06523543cbd4a9a8155c5f5baf3e92 (diff)
Configure keyboard preference with home-manager
Preferring home-manager to reduce some of the clutter I've created.
Diffstat (limited to 'configs/.config/nixpkgs')
-rw-r--r--configs/.config/nixpkgs/home.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/.config/nixpkgs/home.nix b/configs/.config/nixpkgs/home.nix
index 76dce2f21b2b..840483556573 100644
--- a/configs/.config/nixpkgs/home.nix
+++ b/configs/.config/nixpkgs/home.nix
@@ -15,6 +15,13 @@
       jq
       pup
     ];
+    keyboard = {
+      options = [
+        # Swap Caps-Lock and Escape
+        "remove Lock = Caps_Lock"
+        "keysym Caps_Lock = Escape"
+      ];
+    };
     sessionVariables = {
     };
     stateVersion = "19.09";