Users.users.<name>.packages vs home-manager packages

Not much. The priority order and/or collision properties with other ways of getting things into PATH, primarily.

nix-env will clash with home-manager packages providing the same binary without useUserPackages, with it, home-manager will clash with users.users.<username>.packages instead. ~/.nix-profile is higher in the search order, so it would override /etc/profiles/per-user/<username>. Things like that.

4 Likes