Gnu stow-like behavior with home-manager

I’m wondering if it is possible to use home-manager in a way that’s similar to how stow operates. Right now, I am doing something like:

  xdg.configFile = {
    "hypr" = {
      source = config.lib.file.mkOutOfStoreSymlink ./.config/hypr;
      recursive = true;
    };
  }

I have other files where I am doing something similar, but when I open the files contained in .config/hypr in neovim, it tells me that the file is readonly and doesn’t allow me to edit. I kind of wish I could make edits to the files in their normal locations

This is a path which is by design stored in the nix store. Instead you want to use a string and absolute path, eg


mkOutOfStoreSymlink "${config.home.homeDirectory}/path/to/file”