mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 10:46:15 +02:00
eb7d7780b1
This is needed to avoid this https://github.com/mesonbuild/meson/issues/13774 when we go back to making our subproject directory `src`.
15 lines
729 B
Markdown
15 lines
729 B
Markdown
# Security
|
||
|
||
Nix has two basic security models. First, it can be used in “single-user
|
||
mode”, which is similar to what most other package management tools do:
|
||
there is a single user (typically root) who performs all package
|
||
management operations. All other users can then use the installed
|
||
packages, but they cannot perform package management operations
|
||
themselves.
|
||
|
||
Alternatively, you can configure Nix in “multi-user mode”. In this
|
||
model, all users can perform package management operations — for
|
||
instance, every user can install software without requiring root
|
||
privileges. Nix ensures that this is secure. For instance, it’s not
|
||
possible for one user to overwrite a package used by another user with a
|
||
Trojan horse.
|