Evertras/simple-homemanager

home-manager repository location

Opened this issue · 2 comments

In the docs (https://github.com/Evertras/simple-homemanager/blob/main/02-basic-repository-setup.md#init-a-git-repository) it says that we can create a my-home-manager (or similar) directory anywhere. But in some guides, and with some installation methods, we also end up with a default ~/.config/home-manager folder with a default config.

Is there a reason we aren't using the ~/.config location?

Thanks

Personally I ended up using /etc/nixos since I started using it as a git repo for my configuration.nix. For me it makes more sense to keep it that way, leaving ~/.config to be managed by Home Manager.

I've also seen ~/.config/home-manager being used, and the same question has come up.

But after all, I guess it's just a matter of preference?

Thanks. I'm not on NixOS, so I wonder if it's when installing on non-NixOS OS's that we end up with ~/.config/home-manager. I might try and consolidate the folders and see if I break anything...