summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-07-25 19:41:24 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-07-25 19:41:24 +0200
commitc5d51f3cde740890d69a02c2fdad0ce06db4c55e (patch)
treea93f890cf337de0308e5dc30a2dd0f580ca970d0
parent122aa93c13c2dd5ed10e19323963f5a47a24bb09 (diff)
lnl: use /nix/var/tmp
-rw-r--r--modules/examples/hydra.nix4
-rw-r--r--modules/examples/lnl.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/examples/hydra.nix b/modules/examples/hydra.nix
index 4210b8f..98368c0 100644
--- a/modules/examples/hydra.nix
+++ b/modules/examples/hydra.nix
@@ -4,7 +4,7 @@ with lib;
let
environment = concatStringsSep " "
- [ "TMPDIR=/build/tmp"
+ [ "TMPDIR=/nix/var/tmp"
"NIX_REMOTE=daemon"
"NIX_SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
];
@@ -82,6 +82,6 @@ in
chown hydra:hydra ~hydra/.ssh ~hydra/.ssh/authorized_keys
echo "ok"
- mkdir -m 1777 -p /build/tmp
+ mkdir -m 1777 -p /nix/var/tmp
'';
}
diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix
index 23600a2..8398d86 100644
--- a/modules/examples/lnl.nix
+++ b/modules/examples/lnl.nix
@@ -22,7 +22,7 @@
system.defaults.trackpad.Clicking = true;
services.nix-daemon.enable = true;
- services.nix-daemon.tempDir = "/build/tmp";
+ services.nix-daemon.tempDir = "/nix/var/tmp";
nix.package = pkgs.nixUnstable;