diff options
author | Travis A. Everett <travis.a.everett@gmail.com> | 2021-02-07 15:34:24 -0600 |
---|---|---|
committer | Travis A. Everett <travis.a.everett@gmail.com> | 2021-03-11 10:16:34 -0600 |
commit | 0431cf6d0992e7986afbb3d0ffd0a7e1cca8ae8a (patch) | |
tree | b3e6691266d84abad410fc3809312d1205d82382 /scripts/install-darwin-multi-user.sh | |
parent | 8127094f767b6caae145bc395a504ca62f30af3e (diff) |
fix nixbld user name/uid for macOS
Diffstat (limited to 'scripts/install-darwin-multi-user.sh')
-rw-r--r-- | scripts/install-darwin-multi-user.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/install-darwin-multi-user.sh b/scripts/install-darwin-multi-user.sh index a27be2a43..f6575ae2f 100644 --- a/scripts/install-darwin-multi-user.sh +++ b/scripts/install-darwin-multi-user.sh @@ -4,6 +4,8 @@ set -eu set -o pipefail readonly PLIST_DEST=/Library/LaunchDaemons/org.nixos.nix-daemon.plist +NIX_FIRST_BUILD_UID="301" +NIX_BUILD_USER_NAME_TEMPLATE="_nixbld%d" dsclattr() { /usr/bin/dscl . -read "$1" \ |