configuration.nix/hosts/skipper/persistence.nix
Adithya Nair c034a10aef
Revert "remove wireguard stuff"
This reverts commit 9b8ec24c63.
This reverts commit ec04addf62.
2023-10-10 18:29:53 +05:30

29 lines
622 B
Nix

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