fix .cache/.keep file
Some checks reported errors
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #24486 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #24487 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #24485 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #24484 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.thinkrac Hydra build #24492 of nixos-config:pr618:nixosConfigurations.thinkrac
Hydra nixosConfigurations.rainbow-resort Hydra build #24491 of nixos-config:pr618:nixosConfigurations.rainbow-resort
Hydra nixosConfigurations.pc-installer Hydra build #24490 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.not522 Hydra build #24488 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.not522-installer Hydra build #24489 of nixos-config:pr618:nixosConfigurations.not522-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-09 11:15:53 +01:00
parent 517ef86d2d
commit 6d70eae3eb

View file

@ -18,9 +18,11 @@ 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 = { value = {config, ...}: {
file.".cache/.keep".enable = false; home.file."${config.home.homeDirectory}/.cache/.keep" = {
persistence.default = { enable = false;
};
home.persistence.default = {
persistentStoragePath = "/persistent/home/${name}"; persistentStoragePath = "/persistent/home/${name}";
allowOther = true; allowOther = true;
directories = [ directories = [