configuration.nix/hosts/skipper/persistence.nix
2024-02-24 19:59:00 +05:30

29 lines
639 B
Nix

_: {
environment.persistence."/persist/system" = {
hideMounts = true;
directories = [
"/etc/NetworkManager/system-connections"
"/etc/secureboot"
"/etc/ssh/keys"
"/etc/systemd/nspawn"
"/etc/wireguard"
"/var/cache/fwupd"
"/var/lib/bluetooth"
"/var/lib/btrfs"
"/var/lib/docker"
"/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"
"/etc/u2f_keys"
];
};
}