diff --git a/nix/module.nix b/nix/module.nix index 3ad08fb..91c7328 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -123,11 +123,12 @@ in description = "Panel API"; after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; + path = [ "/run/wrappers" ]; serviceConfig = { Type = "simple"; User = cfg.user; - Group = cfg.group; + SupplementaryGroups = [ cfg.group ]; Restart = "always"; RestartSec = 3; WorkingDirectory = cfg.baseDir;