27 lines
567 B
Nix
27 lines
567 B
Nix
_: {
|
|
environment.persistence."/persist/system" = {
|
|
hideMounts = true;
|
|
directories = [
|
|
"/etc/secureboot"
|
|
"/etc/ssh/keys"
|
|
"/etc/systemd/nspawn"
|
|
"/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/machines"
|
|
"/var/lib/nixos"
|
|
"/var/lib/portables"
|
|
"/var/lib/systemd"
|
|
"/var/log"
|
|
];
|
|
files = [
|
|
"/etc/machine-id"
|
|
"/etc/u2f_keys"
|
|
];
|
|
};
|
|
}
|