18 lines
388 B
Nix
18 lines
388 B
Nix
|
{
|
||
|
fileSystems."/persist".neededForBoot = true;
|
||
|
environment.persistence."/persist" = {
|
||
|
hideMounts = true;
|
||
|
directories = [
|
||
|
"/etc/nixos"
|
||
|
"/var/log"
|
||
|
"/var/lib/nixos"
|
||
|
"/var/lib/systemd/coredump"
|
||
|
"/etc/NetworkManager/system-connections"
|
||
|
];
|
||
|
files = [
|
||
|
"/etc/ssh/ssh_host_ed25519_key"
|
||
|
"/etc/ssh/ssh_host_ed25519_key.pub"
|
||
|
];
|
||
|
};
|
||
|
}
|