#!/bin/sh

addgroup -S nix 2>/dev/null
addgroup -S nixbld 2>/dev/null
for n in $(seq 0 3); do
	adduser -S -D -H -h /var/empty -s /sbin/nologin -G nixbld \
		-g "Nix build user $n" nixbld$n 2>/dev/null
done

exit 0
