infrastructure/hosts/aurum/system/impermanence/default.nix

31 lines
661 B
Nix
Raw Normal View History

2024-01-15 15:50:55 +00:00
{...}: {
environment.persistence."/persistent" = {
hideMounts = true;
directories = [
"/var/log"
"/var/lib/bluetooth"
"/var/lib/nixos"
"/var/lib/systemd/coredump"
"/etc/NetworkManager/system-connections"
"/etc/secureboot"
];
files = [
"/etc/machine-id"
];
# TODO: move this into home config, when silicium has impermanence too
users.laurent = {
directories = [
"Documents"
2024-03-31 14:30:01 +00:00
".mozilla"
2024-01-15 15:50:55 +00:00
".thunderbird"
".local/share/direnv"
".local/share/keyrings"
{
directory = ".ssh";
mode = "0700";
}
];
};
};
}