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:
parent
122aa93c13
commit
c5d51f3cde
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue