commit bef353579f226aad03ddd68979de13e11f27760d parent 41740cf3b0cd4c1708cc054facd72e4c93cdd8f5 Author: awy <awy@awy.one> Date: Thu, 20 Mar 2025 16:14:38 +0300 sudo Diffstat:
M | post_chroot.sh | | | 8 | ++------ |
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/post_chroot.sh b/post_chroot.sh @@ -105,12 +105,8 @@ echo "[extra]" >> /etc/pacman.conf echo "Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf pacman -Sy --noconfirm -pacman -S doas --noconfirm -cat <<EOL >> /etc/doas.conf -permit nopass :wheel -permit nopass keepenv :$username -permit nopass keepenv :root -EOL +pacman -S sudo --noconfirm +sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers pacman -S dhcpcd dhcpcd-dinit dbus-dinit --noconfirm ln -sf /etc/dinit.d/dhcpcd /etc/dinit.d/boot.d/