fix: add nixbld users as explicit group members
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
All checks were successful
Terraform Plan / Terraform Plan (push) Successful in 17s
This commit is contained in:
@@ -110,8 +110,9 @@ jobs:
|
||||
|
||||
for i in $(seq 1 10); do
|
||||
if ! id "nixbld$i" >/dev/null 2>&1; then
|
||||
useradd --system --gid nixbld --no-create-home --home-dir /var/empty --shell /usr/sbin/nologin "nixbld$i"
|
||||
useradd --system --create-home --home-dir /var/empty --shell /usr/sbin/nologin "nixbld$i"
|
||||
fi
|
||||
usermod -a -G nixbld "nixbld$i"
|
||||
done
|
||||
fi
|
||||
sh <(curl -L https://nixos.org/nix/install) --no-daemon
|
||||
|
||||
Reference in New Issue
Block a user