about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-08-03 18:38:51 +0200
committeraszlig <aszlig@nix.build>2022-08-03 18:44:01 +0200
commita73b46dbbeb9e05a673c80ba4eae9779e36e1b3c (patch)
treecdff313d25b38a6b2c3ade0ccbb513a8e025bfc7 /modules
parent55e7368d8fc870f9e7722f6ae645c1dec144a44b (diff)
profiles/base: Use XKB config for console keymap
This is mainly for having a consistent and central way to define our
keybord config. The main reason for doing so is because of Slylandro,
which comes with a keyboard that has a caps lock key atop the left shift
key and it drives me mad.

Since I'd like to keep things DRY, let's just use XKB for everything
keymap-related.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'modules')
-rw-r--r--modules/user/aszlig/profiles/base.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/user/aszlig/profiles/base.nix b/modules/user/aszlig/profiles/base.nix
index a82af649..d5e589d1 100644
--- a/modules/user/aszlig/profiles/base.nix
+++ b/modules/user/aszlig/profiles/base.nix
@@ -26,7 +26,8 @@ in {
     networking.useNetworkd = true;
     networking.useDHCP = false;
 
-    console.keyMap = "dvorak";
+    services.xserver.layout = "dvorak";
+    console.useXkbConfig = true;
     console.font = "lat9w-16";
 
     programs.ssh.startAgent = false;