diff options
author | sils <sils@sils.li> | 2022-12-17 16:30:10 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2022-12-17 16:30:10 +0100 |
commit | 6661cd4a9ab45e71f1d62908fbc1168fa549aeeb (patch) | |
tree | 93f5bf2acea8478f6c8bfff45b2781a899236e5e | |
parent | keyboard layout (diff) | |
download | nix-config-6661cd4a9ab45e71f1d62908fbc1168fa549aeeb.tar.gz nix-config-6661cd4a9ab45e71f1d62908fbc1168fa549aeeb.zip |
keyboard layout
Diffstat (limited to '')
-rw-r--r-- | keyboard.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/keyboard.nix b/keyboard.nix index be64815..dea9863 100644 --- a/keyboard.nix +++ b/keyboard.nix @@ -6,14 +6,14 @@ ''; in { - #services.xserver = { - # layout = "de, de"; - # xkbVariant = ",neo"; - # xkbOptions = "grp:win_space_toggle"; - #}; + services.xserver = { + layout = "de, de"; + #xkbVariant = ",neo"; + xkbOptions = "grp:win_space_toggle"; + displayManager.sessionCommands = "${pkgs.xorg.xkbcomp}/bin/xkbcomp ${compiledLayout} $DISPLAY"; + }; environment.systemPackages = [ pkgs.xorg.xkbcomp ]; - services.xserver.displayManager.sessionCommands = "${pkgs.xorg.xkbcomp}/bin/xkbcomp ${compiledLayout} $DISPLAY"; i18n.defaultLocale = "en_US.UTF-8"; |