about summary refs log tree commit diff
path: root/nixos/modules/services/x11
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2024-05-13 15:59:17 +0200
committerGitHub <noreply@github.com>2024-05-13 15:59:17 +0200
commit2616ccbcace162e8efe71498a6af7172c8fd3135 (patch)
treea804e6acef055fe269f76f1dfc659cfeb895bc11 /nixos/modules/services/x11
parent068c0e3c956eb0738beb212b6331a59c4fec7df5 (diff)
parent6e22a417e6d547fa5375849e2d6d86300d674b5d (diff)
Merge pull request #310926 from Gerg-L/display-manager
Diffstat (limited to 'nixos/modules/services/x11')
-rw-r--r--nixos/modules/services/x11/xserver.nix3
1 files changed, 0 insertions, 3 deletions
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;