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