remove .cache/.keep file
Some checks failed
Hydra nixosConfigurations.rainbow-resort Hydra build #24471 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.thinkrac Hydra build #24472 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24467 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.not522-installer Hydra build #24469 of nixos-config:pr618:nixosConfigurations.not522-installer
Hydra nixosConfigurations.pc-installer Hydra build #24470 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.not522 Hydra build #24468 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24465 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24466 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #24464 of nixos-config:pr618:checks.x86_64-linux.containers-default

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-09 08:53:00 +01:00
parent 4efc3d9af5
commit 32df8d6c5b

View file

@ -18,21 +18,24 @@ with lib; {
programs.fuse.userAllowOther = true; programs.fuse.userAllowOther = true;
home-manager.users = listToAttrs (map (name: { home-manager.users = listToAttrs (map (name: {
inherit name; inherit name;
value.home.persistence.default = { value.home = {
persistentStoragePath = "/persistent/home/${name}"; file.".cache/.keep".enable = false;
allowOther = true; persistence.default = {
directories = [ persistentStoragePath = "/persistent/home/${name}";
"Downloads" allowOther = true;
"Music" directories = [
"Pictures" "Downloads"
"Documents" "Music"
"Videos" "Pictures"
{ "Documents"
directory = ".cache"; "Videos"
method = "symlink"; {
} directory = ".cache";
"Data" method = "symlink";
]; }
"Data"
];
};
}; };
}) })
config.environment.impermanence.users); config.environment.impermanence.users);