Cheatsheet: Difference between revisions
imported>Gmarmstrong Add notice to use vector theme for viewing this page |
imported>Udono m typo |
||
Line 26: | Line 26: | ||
|Who can install packages and who can run them? | |Who can install packages and who can run them? | ||
|All packages are always system-wide and only root can install packages. | |All packages are always system-wide and only root can install packages. | ||
|Packages root installs are system-wide. It does so | |Packages root installs are system-wide. It does so through /etc/nixos/configuration.nix. If root installs packages the same way users do, through ~/.nixpkgs/config.nix, they are also global. Root's default profile is the system-wide default profile. | ||
|Users can install their own packages and have their own profiles (environments) through ~/.nixpkgs/config.nix | |Users can install their own packages and have their own profiles (environments) through ~/.nixpkgs/config.nix | ||
|- | |- |