simple-homemanager
simple-homemanager copied to clipboard
01 home-manager install missing additional setup on multi-user install on foreign distro.
The instructions linked to install home-manager
point the user to install home-manager with
nix-shell '<home-manager>' -A install
In order to progress I had to add a nixpkgs channel and update the $NIX_PATH in my environment:
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
export NIX_PATH=$NIX_PATH:$HOME/.nix-defexpr/channels
Also using the nix-shell install method wiped the home-manager path after the first make command that runs home-manager switch.
I was able to get home-manager persistently available with nix profile install home-manager
. I'm not sure if this my unfamiliarity with nix or if the instructions are unclear for a multi-user nix install on a foreign distro.