Arch Linux provisioning scripts with some Mac bolt-ons.
If you already have a desktop, then you can just run tag specific runners:
just core # generally everything, ask for sudo
just arch # arch specific only, ask for sudo
just cargo # install cargo clis not in package mangersNote that apart from language specific package managers (lpms) we install OS packages out-of-band via either pacstrap or macstrap.
This repository also contains a bunch of experimental scripts to set up an arch machine from scratch. Use at own caution.
You need two USB sticks for the arch deployment.
- live environment
- genprov generated volume
Boot into the live environment using EFI boot, mount the provisioning stick on /prov, and start the show:
export DCHOSTNAME="hprks" # host we are installing to
export DCDISK=/dev/sda # disk we are re-partitioning (and wiping) for installation
/prov/live.sh # 3 minutes unattended after setting of crypt passNote that $DCHOSTNAME must exist in hosts.
Then boot to a root user (with pass set in prompt) then run bootstap:
./firstboot.sh # 5 min unattended middleThis will ask for a new $USER password at the end, and ask you to run the first ansible role.
The goal is to remove all of these:
-
zinitfor two modules now working on both linux / mac without aur -
aurpackages listed in pacstrap -
vscodeand its extensions removed -
vimplugins. originally replaced by helix, perhaps again..