From a73b46dbbeb9e05a673c80ba4eae9779e36e1b3c Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 3 Aug 2022 18:38:51 +0200 Subject: 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 --- modules/user/aszlig/profiles/base.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') 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; -- cgit 1.4.1