infrastructure/hosts/aurum/system/impermanence.nix

42 lines
899 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"
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"
".cache/nix"
".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
};
};
}