From 6661cd4a9ab45e71f1d62908fbc1168fa549aeeb Mon Sep 17 00:00:00 2001 From: sils Date: Sat, 17 Dec 2022 16:30:10 +0100 Subject: keyboard layout --- keyboard.nix | 12 ++++++------ 1 file 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"; -- cgit 1.4.1