diff options
author | Domen Kožar <domen@dev.si> | 2020-02-26 10:50:40 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2020-05-25 17:16:38 +0200 |
commit | 90b0c630a0e9e66f69f1d24b538982c20b5486b9 (patch) | |
tree | 829689238f4159459640c9f3dd10bb1952a878a3 /scripts/install-multi-user.sh | |
parent | 81a0731e05805e92355738685fcc2c4fd74368a2 (diff) |
install-multi-user: allow overriding user count
Diffstat (limited to 'scripts/install-multi-user.sh')
-rw-r--r-- | scripts/install-multi-user.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh index a0f1deb98..991cf1998 100644 --- a/scripts/install-multi-user.sh +++ b/scripts/install-multi-user.sh @@ -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" |