19 lines
285 B
Nix
19 lines
285 B
Nix
{ ... }:
|
|
{
|
|
environment.persistence = {
|
|
"/nix/persist" = {
|
|
hideMounts = true;
|
|
directories = [
|
|
"/var/lib"
|
|
"/var/log"
|
|
"/etc/nixos"
|
|
"/opt"
|
|
];
|
|
files = [
|
|
"/etc/machine-id"
|
|
"/etc/nix/id_rsa"
|
|
];
|
|
};
|
|
};
|
|
}
|