2024-11-02 17:19:40 -04:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
environment.persistence."/persist" = {
|
|
|
|
hideMounts = true;
|
|
|
|
directories = [
|
|
|
|
"/etc/nixos"
|
|
|
|
"/etc/secureboot"
|
|
|
|
"/var/log"
|
|
|
|
"/var/lib/systemd/coredump"
|
2024-11-03 06:57:03 -05:00
|
|
|
"/var/lib/nixos"
|
2024-11-02 17:19:40 -04:00
|
|
|
];
|
|
|
|
files = [
|
|
|
|
"/etc/machine-id"
|
|
|
|
"/etc/ssh/ssh_host_ed25519_key"
|
|
|
|
"/etc/ssh/ssh_host_ed25519_key.pub"
|
|
|
|
"/etc/ssh/ssh_host_rsa_key"
|
|
|
|
"/etc/ssh/ssh_host_rsa_key.pub"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|