configuration.nix/hosts/skipper/persistence.nix

25 lines
547 B
Nix

{...}: {
environment.persistence."/persist/system" = {
hideMounts = true;
directories = [
"/etc/NetworkManager/system-connections"
"/etc/secureboot"
"/root/.cache/nix"
"/var/cache/apparmor"
"/var/cache/fwupd"
"/var/lib/bluetooth"
"/var/lib/docker"
"/var/lib/fwupd"
"/var/lib/iwd"
"/var/lib/libvirt"
"/var/lib/NetworkManager"
"/var/lib/nixos"
"/var/lib/systemd"
"/var/log"
];
files = [
"/etc/machine-id"
"/etc/u2f_keys"
];
};
}