mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 06:31:15 +00:00
nixos/wivrn: Don't run service for system users
When using sddm, the service gets started as the sddm user when
the login screen appears, then is started again as your user after login
while the other is potentially still running. This causes the server
to exit with an 'Address already in use' error in the log.
(cherry picked from commit ad583bb258)
This commit is contained in:
committed by
github-actions[bot]
parent
2b35450a66
commit
ed30b075e9
@@ -201,6 +201,8 @@ in
|
||||
# Exec path isn't absolute, it will be resolved relative to $PATH, so we must
|
||||
# not override the value of $PATH.
|
||||
enableDefaultPath = false;
|
||||
|
||||
unitConfig.ConditionUser = "!@system";
|
||||
serviceConfig = (
|
||||
if cfg.highPriority then
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user