nixos/tmproot: Persist Nix cache

This commit is contained in:
2022-06-17 23:15:39 +01:00
parent 2998dc7bff
commit c59c911e2f
2 changed files with 4 additions and 0 deletions

View File

@@ -143,6 +143,8 @@ in
# Also the script runs before impermanence does.
"/var/lib/nixos"
"/var/lib/systemd"
{ directory = "/root/.cache/nix"; mode = "0700"; }
];
files = [
"/etc/machine-id"