Home Manager: dotfiles management

6 Likes

Thanks! I only used home-manager as part of NixOS so far. I am probably going to switch to standalone hm due to this post (to allow impurity / having editable symlinks).

Is there a way to avoid hard-coding absolute paths (assuming they are stored within the flake dir)? using self or ./. do not seem to work, the root of the symlink chains ends up being in the nix-store as well.

mkOutOfStoreSymlink seems to be intentionally undocumented to discourage its use.

The flake is already copied to the store anyway. Using self is not introducing an extra copy operation.