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

QUESTION: impermanence and standalone home-manager #36

Open
aShabat opened this issue Apr 7, 2024 · 1 comment
Open

QUESTION: impermanence and standalone home-manager #36

aShabat opened this issue Apr 7, 2024 · 1 comment

Comments

@aShabat
Copy link

aShabat commented Apr 7, 2024

Hello,
in nix-starter-config you say that to use impermanence with home-manager we have to use home-manager as a module. But it seems that you use it standalone. What is your solution?
Thanks for all the great stuff

@nakoo
Copy link

nakoo commented Jun 9, 2024

The trick is importing home.nix from hosts setup.
home-manager.users.user = import ./home.nix

If you're doing this, you would find that home-manager command is not available.
so he added pkgs.home-manager for this purpose.

In my case, I added alias nix run .#homeConfigurations."user@host".activationPackage

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