Added more files and folders to persistent storage

This commit is contained in:
Aleksandr Lebedev 2024-12-17 22:55:46 +01:00
parent 98668e05f9
commit 9c008da008
2 changed files with 22 additions and 18 deletions

View file

@ -17,6 +17,7 @@
"/etc/machine-id"
{ file = "/var/keys/secret_file"; parentDirectory = { mode = "u=rwx,g=,o="; }; }
];
"/etc/shadow"
};
systemd.tmpfiles.rules = [
"d /persist/home/ 0777 root root -" # /persist/home created, owned by root

View file

@ -5,24 +5,27 @@
];
home.persistence."/persist/home/${username}" = {
directories = [
"Downloads"
"Music"
"Pictures"
"Documents"
"Videos"
"VMs"
"Git"
"nixos-config"
"blender"
".gnupg"
".ssh"
".nixops"
".local/share/keyrings"
".local/share/direnv"
{
directory = ".local/share/Steam";
method = "symlink";
}
"Downloads"
"Music"
"Pictures"
"Documents"
"Videos"
"VMs"
"Git"
"nixos-config"
"blender"
".gnupg"
".ssh"
".nixops"
".local/share/keyrings"
".local/share/direnv"
{
directory = ".local/share/Steam";
method = "symlink";
}
".mozilla"
".local/share/TelegramDesktop"
".config/solaar"
];
files = [
".screenrc"