Make setup-user able to use nix

This commit is contained in:
Manuel Thalmann 2024-07-15 13:15:07 +02:00
parent 280b30a0b2
commit 43869c3623

View file

@ -20,7 +20,7 @@ if [ (id -u) -eq 0 ]
--comment "PortValhalla setup user" \ --comment "PortValhalla setup user" \
--system \ --system \
--no-user-group \ --no-user-group \
--groups wheel \ --groups wheel nix-users \
--create-home \ --create-home \
--uid (getConfig valhalla.setupUser.id --json) \ --uid (getConfig valhalla.setupUser.id --json) \
"$name" "$name"