Skip to content

Commit 11cf29b

Browse files
authored
install-darwin: increment base UID by 1 (#15)
1 parent 7556742 commit 11cf29b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/bigsur-nixbld-user-migration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
((NEW_NIX_FIRST_BUILD_UID=350))
3+
((NEW_NIX_FIRST_BUILD_UID=351))
44

55
id_available(){
66
dscl . list /Users UniqueID | grep -E '\b'"$1"'\b' >/dev/null

scripts/install-darwin-multi-user.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ set -o pipefail
99
# - we changed UID to 301 because Big Sur updates failed into recovery mode
1010
# we're targeting the 200-400 UID range for role users mentioned in the
1111
# usage note for sysadminctl
12-
# - we changed UID to 350 because Sequoia now uses UIDs 300-304 for its own
12+
# - we changed UID to 351 because Sequoia now uses UIDs 300-304 for its own
1313
# daemon users
1414
# - we changed GID to 350 alongside above just because it hides the nixbld
1515
# group from the Users & Groups settings panel :)
16-
export NIX_FIRST_BUILD_UID="${NIX_FIRST_BUILD_UID:-350}"
16+
export NIX_FIRST_BUILD_UID="${NIX_FIRST_BUILD_UID:-351}"
1717
export NIX_BUILD_GROUP_ID="${NIX_BUILD_GROUP_ID:-350}"
1818
export NIX_BUILD_USER_NAME_TEMPLATE="_nixbld%d"
1919

0 commit comments

Comments
 (0)