From ed30b075e905b32bc11684d17289b5aace2d645d Mon Sep 17 00:00:00 2001 From: Sapphire Date: Sat, 4 Jul 2026 05:46:17 -0500 Subject: [PATCH] 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 ad583bb258230e6a9355db8dbaa985fe59ce4b8c) --- nixos/modules/services/video/wivrn.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/video/wivrn.nix b/nixos/modules/services/video/wivrn.nix index 82f923f13b0f..82e356d419d4 100644 --- a/nixos/modules/services/video/wivrn.nix +++ b/nixos/modules/services/video/wivrn.nix @@ -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 {