From 6e22a417e6d547fa5375849e2d6d86300d674b5d Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Sat, 11 May 2024 16:34:08 -0400 Subject: nixos/xserver: remove duplicate display-manager.script declaration --- nixos/modules/services/x11/xserver.nix | 3 --- 1 file changed, 3 deletions(-) (limited to 'nixos/modules/services/x11') diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix index e13c273746701..5a86d055c2719 100644 --- a/nixos/modules/services/x11/xserver.nix +++ b/nixos/modules/services/x11/xserver.nix @@ -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; -- cgit 1.4.1