diff options
author | aszlig <aszlig@nix.build> | 2022-08-03 18:38:51 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2022-08-03 18:44:01 +0200 |
commit | a73b46dbbeb9e05a673c80ba4eae9779e36e1b3c (patch) | |
tree | cdff313d25b38a6b2c3ade0ccbb513a8e025bfc7 /modules/user/aszlig | |
parent | 55e7368d8fc870f9e7722f6ae645c1dec144a44b (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/user/aszlig')
-rw-r--r-- | modules/user/aszlig/profiles/base.nix | 3 |
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; |