2024-05-25 20:48:50 +01:00
|
|
|
{
|
|
|
|
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"
|
2024-05-27 15:04:34 +01:00
|
|
|
"/var/lib/flatpak"
|
2024-05-28 14:06:33 +01:00
|
|
|
"/run/secrets-for-users"
|
2024-05-25 20:48:50 +01:00
|
|
|
];
|
|
|
|
files = [
|
|
|
|
"/etc/ssh/ssh_host_ed25519_key"
|
2024-05-28 14:06:33 +01:00
|
|
|
"/etc/ssh/deploy_key-ssh-ed25519"
|
2024-05-25 20:48:50 +01:00
|
|
|
"/etc/ssh/ssh_host_ed25519_key.pub"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|