Issue description
I'm currently migrating my dotfiles to Nix using nix-darwin and the home-manager module.
One problem I'm having is that mkOutOfStoreSymlink doesn't seem to work when using flakes.
In the example below, the .config/alacritty directory will link to the flake sources (/nix/store/54vrjl9afxg7ckb5waxy3w521f3mpi3j-hm_alacritty) instead of the original directory in my ~/projects/dot/config/alacritty.
xdg.configFile."alacritty".source = config.lib.file.mkOutOfStoreSymlink ../../config/alacritty;
Is there any way to do what I want with the flake.nix setup?
Issue description
I'm currently migrating my dotfiles to Nix using nix-darwin and the home-manager module.
One problem I'm having is that
mkOutOfStoreSymlinkdoesn't seem to work when using flakes.In the example below, the
.config/alacrittydirectory will link to the flake sources (/nix/store/54vrjl9afxg7ckb5waxy3w521f3mpi3j-hm_alacritty) instead of the original directory in my~/projects/dot/config/alacritty.Is there any way to do what I want with the
flake.nixsetup?