mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
chore(extern): nix improvements
This commit is contained in:
parent
f91179a2d8
commit
292f54b28f
7 changed files with 120 additions and 6 deletions
|
|
@ -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}";
|
||||
})))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue