move nix cache to disk

This commit is contained in:
2023-06-17 01:04:14 +08:00
parent 4179a8af50
commit c056153b33

View File

@@ -48,5 +48,7 @@
# "/etc/ssh/ssh_host_rsa_key"
# ];
};
systemd.services.nix-daemon =
{ environment = { TMPDIR = "/var/cache/nix"; }; serviceConfig = { CacheDirectory = "nix"; }; };
};
}