Refine home folder impermanence
This commit is contained in:
parent
c0eeecd181
commit
920575d6f8
1 changed files with 11 additions and 5 deletions
|
@ -32,12 +32,18 @@ in
|
|||
system.autoUpgrade.allowReboot = lib.mkForce false;
|
||||
}
|
||||
(lib.mkIf config.custom.platform.impermanence.enable {
|
||||
# TODO Remove this temporary impermanence setup in favor of a more detailed one
|
||||
environment.persistence."/persist".directories = [
|
||||
# TODO Requires continual refinement
|
||||
environment.persistence."/persist".users.vili.directories = [
|
||||
"Documents"
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Projects"
|
||||
"School"
|
||||
"Videos"
|
||||
"Zotero"
|
||||
".config"
|
||||
{
|
||||
directory = "/home/vili";
|
||||
user = config.users.users.vili.name;
|
||||
group = config.users.users.vili.group;
|
||||
directory = ".mozilla";
|
||||
mode = "u=rwx,g=,o=";
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue