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;
|
system.autoUpgrade.allowReboot = lib.mkForce false;
|
||||||
}
|
}
|
||||||
(lib.mkIf config.custom.platform.impermanence.enable {
|
(lib.mkIf config.custom.platform.impermanence.enable {
|
||||||
# TODO Remove this temporary impermanence setup in favor of a more detailed one
|
# TODO Requires continual refinement
|
||||||
environment.persistence."/persist".directories = [
|
environment.persistence."/persist".users.vili.directories = [
|
||||||
|
"Documents"
|
||||||
|
"Music"
|
||||||
|
"Pictures"
|
||||||
|
"Projects"
|
||||||
|
"School"
|
||||||
|
"Videos"
|
||||||
|
"Zotero"
|
||||||
|
".config"
|
||||||
{
|
{
|
||||||
directory = "/home/vili";
|
directory = ".mozilla";
|
||||||
user = config.users.users.vili.name;
|
|
||||||
group = config.users.users.vili.group;
|
|
||||||
mode = "u=rwx,g=,o=";
|
mode = "u=rwx,g=,o=";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue