mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-28 02:37:09 +00:00
hydra: make user a member of the hydra group
The trusted-users setting works based on group membership, the primary group id doesn't matter.
This commit is contained in:
parent
ca420b2f9e
commit
04ed74ca63
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ in
|
|||
|
||||
users.knownGroups = [ "hydra" ];
|
||||
users.knownUsers = [ "hydra" ];
|
||||
users.groups.hydra = { gid = 530; description = "Hydra builder group"; };
|
||||
users.groups.hydra = { gid = 530; description = "Hydra builder group"; members = [ "hydra" ]; };
|
||||
users.users.hydra = { uid = 530; gid = 530; description = "Hydra"; home = "/Users/hydra"; shell = "/bin/bash"; isHidden = true; };
|
||||
|
||||
system.activationScripts.postActivation.text = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue