samuela / nixos-up

The fastest NixOS install there is! 🏎️🏁
232 stars 26 forks source link

home-manager: command not found #16

Open FranzStrudel opened 2 years ago

FranzStrudel commented 2 years ago

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 commented 2 years ago

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 https://github.com/samuela/nixos-up/blob/525a5cefd676d8686adf08bb4a49294f8a1df7c5/nixos-up.py#L225-L229 is still present in your /etc/nixos/configuration.nix.