1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/doc/manual/src/installation/single-user.md
2020-07-23 18:26:48 +02:00

484 B
Raw Blame History

Single-User Mode

In single-user mode, all Nix operations that access the database in prefix/var/nix/db or modify the Nix store in prefix/store must be performed under the user ID that owns those directories. This is typically root. (If you install from RPM packages, thats in fact the default ownership.) However, on single-user machines, it is often convenient to chown those directories to your normal user account so that you dont have to su to root all the time.