1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

install-multi-user: allow overriding user count

This commit is contained in:
Domen Kožar 2020-02-26 10:50:40 +01:00
parent 81a0731e05
commit 90b0c630a0
No known key found for this signature in database
GPG key ID: C2FFBCAFD2C24246
2 changed files with 6 additions and 1 deletions

View file

@ -20,7 +20,9 @@ readonly GREEN='\033[32m'
readonly GREEN_UL='\033[4;32m'
readonly RED='\033[31m'
readonly NIX_USER_COUNT="32"
# installer allows overriding build user count to speed up installation
# as creating each user takes non-trivial amount of time on macos
readonly NIX_USER_COUNT=${NIX_USER_COUNT:-32}
readonly NIX_BUILD_GROUP_ID="30000"
readonly NIX_BUILD_GROUP_NAME="nixbld"
readonly NIX_FIRST_BUILD_UID="30001"