Merge pull request #310926 from Gerg-L/display-manager

This commit is contained in:
Sandro
2024-05-13 15:59:17 +02:00
committed by GitHub
-3
View File
@@ -728,9 +728,6 @@ in
rm -f /tmp/.X0-lock
'';
# TODO: move declaring the systemd service to its own mkIf
script = mkIf (config.systemd.services.display-manager.enable == true) "${config.services.displayManager.execCmd}";
# Stop restarting if the display manager stops (crashes) 2 times
# in one minute. Starting X typically takes 3-4s.
startLimitIntervalSec = 30;