nixos/xserver: remove duplicate display-manager.script declaration

This commit is contained in:
Gerg-L 2024-05-11 16:34:08 -04:00
parent f86af01dbe
commit 6e22a417e6
No known key found for this signature in database

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;