Commit 264a612b5c97

Vincent Demeester <vincent@sbr.pm>
2017-07-20 09:21:21
Disable udev rule for now
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent b947932
Changed files (1)
machine
machine/wakasu.nix
@@ -28,13 +28,6 @@
 		autorandr
 	];
 
-	services.udev = {
-		extraRules = ''
-ACTION=="change", KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/vincent/.Xauthority", RUN+="${pkgs.bash}/bin/bash /home/vincent/bin/autorandr.sh"
-'';
-	};
-	# ACTION=="change", KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/vincent/.Xauthority", RUN+="/usr/bin/su vincent -c ${pkgs.autorandr}/bin/autorandr -c"
-
 	time.timeZone = "Europe/Paris";
 
 	services.xserver.displayManager.slim.theme = pkgs.fetchurl {