summary refs log tree commit diff stats
path: root/keyboard.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2022-12-17 16:30:10 +0100
committersils <sils@sils.li>2022-12-17 16:30:10 +0100
commit6661cd4a9ab45e71f1d62908fbc1168fa549aeeb (patch)
tree93f5bf2acea8478f6c8bfff45b2781a899236e5e /keyboard.nix
parentkeyboard layout (diff)
downloadnix-config-6661cd4a9ab45e71f1d62908fbc1168fa549aeeb.tar.gz
nix-config-6661cd4a9ab45e71f1d62908fbc1168fa549aeeb.zip
keyboard layout
Diffstat (limited to 'keyboard.nix')
-rw-r--r--keyboard.nix12
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";