nixos/xss-lock: remove startx warning

This warning is based on a misconception: xss-lock, as most user
services, just require access to the shell environment variables,
which for `startx` have to be imported manually.
This commit is contained in:
rnhmjoj 2025-03-10 15:41:19 +01:00 committed by Valentin Gagarin
parent 7456bebb2e
commit 967a4ba52b

View file

@ -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"
];
};
}