diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2018-01-14 13:31:58 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2018-01-14 13:31:58 +0100 |
| commit | 04ed74ca6382dde5306b8a93434f8f449f256226 (patch) | |
| tree | 3aa989a04d9b71e695813d1cc91b5eac4746a20a /modules/examples | |
| parent | ca420b2f9eea094a19198b89a64c29e45aaaf9ef (diff) | |
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.
Diffstat (limited to 'modules/examples')
| -rw-r--r-- | modules/examples/hydra.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/examples/hydra.nix b/modules/examples/hydra.nix index 7fca7c0..0d88e20 100644 --- a/modules/examples/hydra.nix +++ b/modules/examples/hydra.nix @@ -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 = '' |
