-
Notifications
You must be signed in to change notification settings - Fork 7
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
Can't run nixos-manager when home-manager is used within configuration.nix #9
Comments
Adding the home-manager executable to the PATH is not so trivial since it depends on the home-manager channel. Maybe nixos-manager could bootstrap |
I am a bit confused why |
Yes. It should be made optional. |
can approve this Problem. I'm on stable 20.03. and like @Melkor333 my nixos and Home-Manager config is split in multiple files.
when setting
When starting it with |
I want to try out
nixos-manager
, but I can't get it to work. I am onNixOS
and havehome-manager
configured inside myconfiguration.nix
(my configuration is split in multiple files which are imported, if that matters). From what I understand this shouldn't be a problem at all andnixos-manager
should be able to run without using thehome-manager
. But I always get the following message:This happens with my personal and the root user.
Since I am using home-manager in the
NixOS
config, I addedmanual.json.enable = true;
to my user config and now I get the following error when trying to run nixos-manager as user (which probably has to do withhome-manager
not being in the path):I also tried removing
home-manager-path
from my user env (which probably was a mistake) and since the~/.nix-profile
folder disappeared it went back to the first error.Does the
nixos-manager
currently only run withhome-manager
or is this some kind of bug/current incompatibility with my setup?I also wonder why it isn't in the nixpkgs yet. Is there some reason for that or have you just not yet gotten to creating a PR?
The text was updated successfully, but these errors were encountered: