persist the root nix cache and bash history
All checks were successful
Hydra nixosConfigurations.not522 Hydra build #22699 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.not522-installer Hydra build #22700 of nixos-config:pr618:nixosConfigurations.not522-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-10-31 18:08:51 +01:00
parent ad0485e46d
commit 2d886aa739

View file

@ -10,4 +10,8 @@
neededForUsers = true;
sopsFile = ./password.yaml;
};
environment.persistence."/persistent" = {
directories = ["/root/.cache/nix"]; # for sanity
files = ["/root/.bash_history"];
};
}