diff --git a/modules/environment/user-impermanence.nix b/modules/environment/user-impermanence.nix index fd60947a..aafe3adc 100644 --- a/modules/environment/user-impermanence.nix +++ b/modules/environment/user-impermanence.nix @@ -18,9 +18,11 @@ with lib; { programs.fuse.userAllowOther = true; home-manager.users = listToAttrs (map (name: { inherit name; - value.home = { - file.".cache/.keep".enable = false; - persistence.default = { + value = {config, ...}: { + home.file."${config.home.homeDirectory}/.cache/.keep" = { + enable = false; + }; + home.persistence.default = { persistentStoragePath = "/persistent/home/${name}"; allowOther = true; directories = [