chore(extern): nix improvements

This commit is contained in:
arcnmx 2024-04-09 14:47:50 -07:00
parent f91179a2d8
commit 292f54b28f
7 changed files with 120 additions and 6 deletions

View file

@ -122,6 +122,9 @@ in {
isSystemUser = true;
useDefaultShell = mkDefault true;
group = mkIf (cfg.group != null) (mkDefault cfg.group);
extraGroups = [
"nixbuilder"
];
createHome = false;
home = "/var/lib/github-runner/${cfg.keyPrefix}${toString i}";
})))