summary refs log tree commit diff stats
path: root/keyboard.nix
diff options
context:
space:
mode:
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";