1
0
Fork 0
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:
Daiderd Jordan 2018-01-14 13:31:58 +01:00
parent ca420b2f9e
commit 04ed74ca63
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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 = ''