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: command not found #16

Open
FranzStrudel opened this issue Jan 18, 2022 · 1 comment
Open

home-manager: command not found #16

FranzStrudel opened this issue Jan 18, 2022 · 1 comment

Comments

@FranzStrudel
Copy link

According to your post-install welcome message

[...] and then home-manager switch to get going.

However when, after rebooting, I try this command, I get

'home-manager: command not found'

I'm learning nix, but AFAIK, given the configuration.nix file, home-manager is only available inside the configuration file

let 
  home-manager = fetchTarball "https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz";
in
{
  [only accessible here]
}
@samuela
Copy link
Owner

samuela commented Jan 18, 2022

Ack yeah installing home-manager has always been tricky for nixos-up... Do you have a set of steps to reproduce this? home-manager should be installed for your user as long as

nixos-up/nixos-up.py

Lines 225 to 229 in 525a5ce

# Your home-manager configuration! Check out https://rycee.gitlab.io/home-manager/ for all possible options.
home-manager.users.{username} = {{ pkgs, ... }}: {{
home.packages = with pkgs; [ hello ];
programs.starship.enable = true;
}};
is still present in your /etc/nixos/configuration.nix.

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