infrastructure/hosts/aurum/system/impermanence.nix

46 lines
987 B
Nix
Raw Normal View History

2024-01-15 15:50:55 +00:00
{...}: {
environment.persistence."/persist" = {
2024-01-15 15:50:55 +00:00
hideMounts = true;
directories = [
"/var/log"
"/var/lib/bluetooth"
"/var/lib/fprint/"
2024-01-15 15:50:55 +00:00
"/var/lib/nixos"
"/var/lib/systemd/coredump"
"/etc/NetworkManager/system-connections"
"/etc/secureboot"
];
files = [
"/etc/machine-id"
];
2024-10-05 11:46:35 +00:00
# TODO: move this into home config
2024-01-15 15:50:55 +00:00
users.laurent = {
directories = [
"Documents"
"Images"
"Videos"
2024-03-31 14:30:01 +00:00
".mozilla"
2024-01-15 15:50:55 +00:00
".thunderbird"
".local/share/direnv"
".local/share/keyrings"
".local/share/atuin"
".config/gcloud"
".cache/nix"
".cache/huggingface"
".config/Code"
".vscode"
2024-01-15 15:50:55 +00:00
{
directory = ".ssh";
mode = "0700";
}
];
files = [
".local/state/bemoji-history.txt"
".local/share/bemoji/emojis.txt"
".cache/cliphist/db"
".cache/fuzzel"
];
2024-01-15 15:50:55 +00:00
};
};
}