Arch installation with Anarchy
Do a basic Anarchy install with your preferences. I go for a minimal install with base, base-devel, bash, grub, networkmanager.
I don't install a desktop environment or window manager. My script will do that later.
Add a new user acount. Make sure you give the new user sudo privilege.
Let the installer do his thing. When the installer is done reboot the system.
When booted into your new system you need to edit the sudoers file.
Login with the root user.
To edit the sudoers file we can use vim. vim comes preinstalled with Anarchy so you can use:
EDITOR=vim visudo
Uncomment the following line: %wheel ALL=(ALL:ALL) ALL
This will make sure that users from the wheel group can execute sudo commands. Our newly added user can now execute sudo commands.
Now we can install my script to install all the necessary programs.
First update the repositories with:
sudo pacman -Sy
Start my script with:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/leonvsc/dotfiles/main/bin/dotfiles)"