Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

home-manager repository location #8

Open
jameshulse opened this issue Sep 5, 2024 · 2 comments
Open

home-manager repository location #8

jameshulse opened this issue Sep 5, 2024 · 2 comments

Comments

@jameshulse
Copy link

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

@joaopms
Copy link
Contributor

joaopms commented Sep 19, 2024

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?

@jameshulse
Copy link
Author

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants