Added more files and folders to persistent storage
This commit is contained in:
parent
98668e05f9
commit
9c008da008
2 changed files with 22 additions and 18 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
"/etc/machine-id"
|
"/etc/machine-id"
|
||||||
{ file = "/var/keys/secret_file"; parentDirectory = { mode = "u=rwx,g=,o="; }; }
|
{ file = "/var/keys/secret_file"; parentDirectory = { mode = "u=rwx,g=,o="; }; }
|
||||||
];
|
];
|
||||||
|
"/etc/shadow"
|
||||||
};
|
};
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /persist/home/ 0777 root root -" # /persist/home created, owned by root
|
"d /persist/home/ 0777 root root -" # /persist/home created, owned by root
|
||||||
|
|
|
||||||
|
|
@ -5,24 +5,27 @@
|
||||||
];
|
];
|
||||||
home.persistence."/persist/home/${username}" = {
|
home.persistence."/persist/home/${username}" = {
|
||||||
directories = [
|
directories = [
|
||||||
"Downloads"
|
"Downloads"
|
||||||
"Music"
|
"Music"
|
||||||
"Pictures"
|
"Pictures"
|
||||||
"Documents"
|
"Documents"
|
||||||
"Videos"
|
"Videos"
|
||||||
"VMs"
|
"VMs"
|
||||||
"Git"
|
"Git"
|
||||||
"nixos-config"
|
"nixos-config"
|
||||||
"blender"
|
"blender"
|
||||||
".gnupg"
|
".gnupg"
|
||||||
".ssh"
|
".ssh"
|
||||||
".nixops"
|
".nixops"
|
||||||
".local/share/keyrings"
|
".local/share/keyrings"
|
||||||
".local/share/direnv"
|
".local/share/direnv"
|
||||||
{
|
{
|
||||||
directory = ".local/share/Steam";
|
directory = ".local/share/Steam";
|
||||||
method = "symlink";
|
method = "symlink";
|
||||||
}
|
}
|
||||||
|
".mozilla"
|
||||||
|
".local/share/TelegramDesktop"
|
||||||
|
".config/solaar"
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
".screenrc"
|
".screenrc"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue