You need the single user installation
The better question is do you actually need to do that. Something like sudocmd() { sudo "$(which "$1")" "${@:2}"; }
will automate sudoing user packages.
You need the single user installation
The better question is do you actually need to do that. Something like sudocmd() { sudo "$(which "$1")" "${@:2}"; }
will automate sudoing user packages.
oh, yeah, i agree with you, that line of code is exactly what i wanted, thanks! btw, why i needed the single user installation?, wasn't multi-user made exactly for managing the packages/profiles between different users?
wasn’t multi-user made exactly for managing the packages/profiles between different users?
No, it's allow you to have a set of packages for each user, and to give you improved security and isolation.
In this case nix download all of the packages to /nix/store, and then symlinks them to the appropriate ~/.nix-profile/
oh, that make sense, thank you again!