1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-28 02:37:09 +00:00

lnl: use /nix/var/tmp

This commit is contained in:
Daiderd Jordan 2017-07-25 19:41:24 +02:00
parent 122aa93c13
commit c5d51f3cde
No known key found for this signature in database
GPG key ID: D02435D05B810C96
2 changed files with 3 additions and 3 deletions

View file

@ -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
'';
}

View file

@ -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;