artix

desc
git clone https://git.awy.one/artix.git
Log | Files | Refs | README | LICENSE

commit 6fe420a26860bec955ab182c35669021fa31851b
parent bef353579f226aad03ddd68979de13e11f27760d
Author: awy <awy@awy.one>
Date:   Thu, 20 Mar 2025 19:34:45 +0300

sudo

Diffstat:
Mpost_chroot.sh | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/post_chroot.sh b/post_chroot.sh @@ -106,7 +106,9 @@ echo "Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf pacman -Sy --noconfirm pacman -S sudo --noconfirm -sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers +echo "%wheel ALL=(ALL:ALL) ALL" >/etc/sudoers.d/00--wheel-can-sudo +echo "%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/shutdown,/usr/bin/reboot,/usr/bin/systemctl suspend,/usr/bin/wifi-menu,/usr/bin/mount,/usr/bin/umount,/usr/bin/pacman -Syu,/usr/bin/pacman -Syyu,/usr/bin/pacman -Syyu --noconfirm,/usr/bin/loadkeys,/usr/bin/pacman -Syyuw --noconfirm,/usr/bin/pacman -S -y --config /etc/pacman.conf --,/usr/bin/pacman -S -y -u --config /etc/pacman.conf --" >/etc/sudoers.d/01-cmds-without-password +echo "Defaults editor=/usr/bin/nvim" >/etc/sudoers.d/02-visudo-editor pacman -S dhcpcd dhcpcd-dinit dbus-dinit --noconfirm ln -sf /etc/dinit.d/dhcpcd /etc/dinit.d/boot.d/