Commit 750b101868a0

Vincent Demeester <vincent@sbr.pm>
2017-07-01 12:23:41
Update shikoku to not output to HDMI-0 by default
HDMI-0 is the TV output (mainly used for games and video).. Disabling it under nixos by default as I mainly use it under windows. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 51f62b3
Changed files (1)
machine/shikoku.nix
@@ -23,6 +23,15 @@
 	services = {
 		xserver = {
 			videoDrivers = [ "nvidia" ];
+			displayManager = {
+				sessionCommands = ''
+xrandr --output HDMI-0 --off --output DP-4 --auto --dpi 96 &
+'';
+				slim.theme = pkgs.fetchurl {
+					url = "https://github.com/vdemeester/slim-themes/raw/master/docker-paris-theme-0.1.tar.xz";
+					sha256 = "1kp30qbxiwv0g4z6gsy2hjacpmm96lr2id1cdwizzf2lrash2hsi";
+				};
+			};
 		};
 	};
 
@@ -48,9 +57,4 @@ section: options
 	keystroke(super+shift+right) = switchInDirection(right)
 end
 ''; };
-
-	services.xserver.displayManager.slim.theme = pkgs.fetchurl {
-						url = "https://github.com/vdemeester/slim-themes/raw/master/docker-paris-theme-0.1.tar.xz";
-						sha256 = "1kp30qbxiwv0g4z6gsy2hjacpmm96lr2id1cdwizzf2lrash2hsi";
-						};
 }