2024-05-25 20:48:50 +01:00
|
|
|
{
|
|
|
|
fileSystems."/persist".neededForBoot = true;
|
|
|
|
environment.persistence."/persist" = {
|
|
|
|
hideMounts = true;
|
|
|
|
directories = [
|
|
|
|
"/etc/nixos"
|
2024-10-04 09:30:34 +01:00
|
|
|
"/srv"
|
2024-05-25 20:48:50 +01:00
|
|
|
"/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"
|
|
|
|
"/etc/ssh/ssh_host_ed25519_key.pub"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|