diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2018-01-23 19:42:49 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2018-01-23 19:42:49 +0100 |
| commit | dc575ed17dd0213c9887ea252827aa91542b7965 (patch) | |
| tree | bbd319f08efe4c9cb331ac6cc5f814adf239d069 /modules/examples | |
| parent | dc33fe3d896db66de6314de3fef653fb80d4aa24 (diff) | |
hydra: cleanup
Diffstat (limited to 'modules/examples')
| -rw-r--r-- | modules/examples/hydra.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/examples/hydra.nix b/modules/examples/hydra.nix index 0d88e20..34250cd 100644 --- a/modules/examples/hydra.nix +++ b/modules/examples/hydra.nix @@ -45,12 +45,9 @@ in users.knownGroups = [ "hydra" ]; users.knownUsers = [ "hydra" ]; 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; }; + users.users.hydra = { uid = 530; gid = 530; description = "Hydra"; home = "/Users/hydra"; shell = "/bin/bash"; }; system.activationScripts.postActivation.text = '' - echo "configuring hydra group" - dscl . -create /Groups/hydra GroupMembership hydra - printf "configuring ssh keys for hydra... " mkdir -p ~hydra/.ssh cp -f /etc/per-user/hydra/ssh/authorized_keys ~hydra/.ssh/authorized_keys |
