nixos/xserver: remove duplicate display-manager.script declaration
This commit is contained in:
parent
f86af01dbe
commit
6e22a417e6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user