diff --git a/nixos/modules/programs/xss-lock.nix b/nixos/modules/programs/xss-lock.nix index 537bf60594e6..4aea57a1046f 100644 --- a/nixos/modules/programs/xss-lock.nix +++ b/nixos/modules/programs/xss-lock.nix @@ -49,10 +49,5 @@ in ); serviceConfig.Restart = "always"; }; - - warnings = lib.mkIf (config.services.xserver.displayManager.startx.enable) [ - "xss-lock service only works if a displayManager is set; it doesn't work when services.xserver.displayManager.startx.enable = true" - ]; - }; }