diff --git a/scripts/Common/OS/setup.fish b/scripts/Common/OS/setup.fish index e06c75a3..9c64a9cf 100644 --- a/scripts/Common/OS/setup.fish +++ b/scripts/Common/OS/setup.fish @@ -20,26 +20,6 @@ begin bash "$script" and source "$dir/../../copy-repo.fish" "$mountDir$PROJECT_CLONE_ROOT" and runHook setupOS || true - - and runHook createUser || \ - begin - chroot "$mountDir" \ - useradd \ - --comment "PortValhalla setup user" \ - --system \ - --no-user-group \ - --groups wheel \ - --create-home \ - --uid (getConfig valhalla.setupUser.id --json) \ - "$name" - end - - and chroot "$mountDir" usermod -aG wheel "$name" - - and begin - echo "$name ALL=(ALL:ALL) NOPASSWD: ALL" - end | chroot "$mountDir" tee "/etc/sudoers.d/PortValhalla" > /dev/null - and runHook autologin || true and begin