From 31345ce0db8112308b78d7f09b9f1dd2c3973b73 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:23:38 +0100 Subject: feat: add bootstrap.sh for fresh Arch installs Takes a minimal Arch system (only 'base' installed) to the point where 'just init' has run and dotfiles are deployed. Installs prerequisites (sudo, git, base-devel, chezmoi, just, efibootmgr), enables %wheel in sudoers, bootstraps paru-bin from the AUR, clones the repo, runs 'just init' (which swaps sudo for doas-sudo-shim via the existing base meta list), and launches create-efi if no Arch EFI boot entry exists. Designed to be curlable: curl -fsSL https://raw.githubusercontent.com/sommerfelddev/dotfiles/master/bootstrap.sh | sh --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index c434b03..af8264c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,21 @@ My Arch Linux configuration, managed with [chezmoi](https://www.chezmoi.io/). -## Setup +## Bootstrap on a fresh Arch install + +On a minimal Arch system (only `base` installed), as the regular wheel +user: + +```sh +curl -fsSL https://raw.githubusercontent.com/sommerfelddev/dotfiles/master/bootstrap.sh | sh +``` + +This installs prerequisites, enables `%wheel` in sudoers, builds +`paru-bin` from the AUR, clones this repo to `~/dotfiles`, runs +`just init`, and — on EFI systems missing an Arch boot entry — +launches `create-efi`. + +## Setup on an existing system ```sh chezmoi init --source ~/dotfiles -- cgit v1.2.3-70-g09d2