mirror of
https://github.com/NixOS/nix.git
synced 2024-10-31 14:20:52 +00:00
When running as root, use build users by default
This removes the need to have a nix.conf, and prevents people from accidentally running Nix builds as root.
This commit is contained in:
parent
eeffdb74dc
commit
ada3e3fa15
@ -40,6 +40,7 @@ Settings::Settings()
|
||||
useSQLiteWAL = true;
|
||||
syncBeforeRegistering = false;
|
||||
useSubstitutes = true;
|
||||
buildUsersGroup = getuid() == 0 ? "nixbld" : "";
|
||||
useChroot = false;
|
||||
useSshSubstituter = false;
|
||||
impersonateLinux26 = false;
|
||||
|
Loading…
Reference in New Issue
Block a user