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

Gerg-L 6e22a417 f86af01d

Changed files
-3
nixos
modules
services
-3
nixos/modules/services/x11/xserver.nix
···
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;