2024-01-15 15:50:55 +00:00
|
|
|
{...}: {
|
2024-10-05 16:47:19 +00:00
|
|
|
environment.persistence."/persist" = {
|
2024-01-15 15:50:55 +00:00
|
|
|
hideMounts = true;
|
|
|
|
directories = [
|
|
|
|
"/var/log"
|
|
|
|
"/var/lib/bluetooth"
|
2024-10-05 21:33:23 +00:00
|
|
|
"/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-11-17 11:29:57 +00:00
|
|
|
"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"
|
2024-10-06 11:42:39 +00:00
|
|
|
".local/share/atuin"
|
2024-10-24 21:40:55 +00:00
|
|
|
".config/gcloud"
|
2024-10-06 11:42:39 +00:00
|
|
|
".cache/nix"
|
2024-11-21 15:41:30 +00:00
|
|
|
".cache/huggingface"
|
2024-10-08 20:04:53 +00:00
|
|
|
".config/Code"
|
|
|
|
".vscode"
|
2024-01-15 15:50:55 +00:00
|
|
|
{
|
|
|
|
directory = ".ssh";
|
|
|
|
mode = "0700";
|
|
|
|
}
|
|
|
|
];
|
2024-10-05 21:40:32 +00:00
|
|
|
files = [
|
|
|
|
".local/state/bemoji-history.txt"
|
|
|
|
".local/share/bemoji/emojis.txt"
|
|
|
|
".cache/cliphist/db"
|
|
|
|
".cache/fuzzel"
|
|
|
|
];
|
2024-01-15 15:50:55 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|