Error installing file '.config/environment.d/10-home-manager.conf' outside $HOME

I just edited my home-manager config to use symlinks, but now I’m getting this error. I deleted .config/environment.d hoping that it would fix the issue and or make a new one, but neither happened (I already emptied the trash, womp womp).

  home-manager.users.user =
    { config, ... }:
    {
        file = {
          "Assets".source = config.lib.file.mkOutOfStoreSymlink "/home/user/Home/Assets";
          "Assets".recursive = true;
          "Downloads".source = config.lib.file.mkOutOfStoreSymlink "/home/user/Home/Downloads";
          "Downloads".recursive = true;
          ".config".source = config.lib.file.mkOutOfStoreSymlink "/home/user/Home/.config";
          ".config".recursive = true;
        };
      };
    };

mkOutOfStoreSymlink doesn’t work with recursive, I believe.

https://github.com/nix-community/home-manager/issues/7187