aboutsummaryrefslogtreecommitdiff
path: root/scripts/install-nix-from-closure.sh
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2020-02-26 10:50:40 +0100
committerDomen Kožar <domen@dev.si>2020-05-25 17:16:38 +0200
commit90b0c630a0e9e66f69f1d24b538982c20b5486b9 (patch)
tree829689238f4159459640c9f3dd10bb1952a878a3 /scripts/install-nix-from-closure.sh
parent81a0731e05805e92355738685fcc2c4fd74368a2 (diff)
install-multi-user: allow overriding user count
Diffstat (limited to 'scripts/install-nix-from-closure.sh')
-rw-r--r--scripts/install-nix-from-closure.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/install-nix-from-closure.sh b/scripts/install-nix-from-closure.sh
index 72aa5abf5..6ea23a44a 100644
--- a/scripts/install-nix-from-closure.sh
+++ b/scripts/install-nix-from-closure.sh
@@ -50,6 +50,9 @@ while [ $# -gt 0 ]; do
INSTALL_MODE=no-daemon;;
--no-channel-add)
NIX_INSTALLER_NO_CHANNEL_ADD=1;;
+ --daemon-user-count)
+ NIX_USER_COUNT=$2
+ shift;;
--no-modify-profile)
NIX_INSTALLER_NO_MODIFY_PROFILE=1;;
--darwin-use-unencrypted-nix-store-volume)