nixos/wivrn: Don't run service for system users (#538341)

This commit is contained in:
Guillaume Girol
2026-07-10 10:36:54 +00:00
committed by GitHub
+2
View File
@@ -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
{