simple-homemanager icon indicating copy to clipboard operation
simple-homemanager copied to clipboard

01 home-manager install missing additional setup on multi-user install on foreign distro.

Open brisk-pm opened this issue 4 months ago • 4 comments

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.

brisk-pm avatar Feb 25 '24 19:02 brisk-pm