configuration.nix/hosts/skipper/persistence/persistence.nix

25 lines
555 B
Nix

_: {
environment.persistence."/persist/system" = {
hideMounts = true;
directories = [
"/etc/NetworkManager/system-connections"
"/etc/systemd/nspawn"
"/root/.local/share/nix"
"/var/cache/fwupd"
"/var/lib/bluetooth"
"/var/lib/btrfs"
"/var/lib/fwupd"
"/var/lib/iwd"
"/var/lib/libvirt"
"/var/lib/machines"
"/var/lib/NetworkManager"
"/var/lib/nixos"
"/var/lib/portables"
"/var/lib/systemd"
"/var/log"
];
files = [
"/etc/machine-id"
];
};
}