summaryrefslogtreecommitdiff
path: root/modules/examples
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-10-30 10:16:07 +0100
committerDaiderd Jordan <daiderd@gmail.com>2017-10-30 10:16:07 +0100
commit7d0421a1c8de3d42b0621beaf4cbf7e53d5daa20 (patch)
tree86ea962a699bd3eb5749018ef5c242dbaf3fa58d /modules/examples
parentcc3cb881ba3f77df96fb01dbc27851aeb664b262 (diff)
examples-hydra: remove custom tmpdir
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 6f5daa3..8916bf1 100644
--- a/modules/examples/hydra.nix
+++ b/modules/examples/hydra.nix
@@ -4,8 +4,7 @@ with lib;
let
environment = concatStringsSep " "
- [ "TMPDIR=/nix/var/tmp"
- "NIX_REMOTE=daemon"
+ [ "NIX_REMOTE=daemon"
"NIX_SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
];
in
@@ -81,7 +80,5 @@ in
cp -f /etc/per-user/hydra/ssh/authorized_keys ~hydra/.ssh/authorized_keys
chown hydra:hydra ~hydra/.ssh ~hydra/.ssh/authorized_keys
echo "ok"
-
- mkdir -m 1777 -p /nix/var/tmp
'';
}