this post was submitted on 14 May 2024
10 points (100.0% liked)

Nix / NixOS

1781 readers
1 users here now

Main links

Videos

founded 1 year ago
MODERATORS
 

Hello you all, so basically i installed Nix in my machine, and i wanted a way to install packages, with nix-env --install, and those packages share with the root account, i was reading about nix multi-user and i'm gonna be honest, i didn't understood shit, i need to enable daemon for both root and my user?, or this only works between users, not root?, etc. thanks for any answer!

you are viewing a single comment's thread
view the rest of the comments
[–] Shareni 3 points 6 months ago (1 children)

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/

[–] [email protected] 2 points 6 months ago

oh, that make sense, thank you again!