summaryrefslogtreecommitdiff
path: root/modules/examples
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-01-23 19:42:49 +0100
committerDaiderd Jordan <daiderd@gmail.com>2018-01-23 19:42:49 +0100
commitdc575ed17dd0213c9887ea252827aa91542b7965 (patch)
treebbd319f08efe4c9cb331ac6cc5f814adf239d069 /modules/examples
parentdc33fe3d896db66de6314de3fef653fb80d4aa24 (diff)
hydra: cleanup
Diffstat (limited to 'modules/examples')
-rw-r--r--modules/examples/hydra.nix5
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