diff options
| author | 2026-04-21 01:23:38 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:23:38 +0100 | |
| commit | a13be81f89f44679553e640b57c18565396dafa7 (patch) | |
| tree | 1c91bd7917f27ceeecaa574a154d10f94665c801 /README.md | |
| parent | 4dd14d6038cb51a3854051710dc1fc48a93dfa80 (diff) | |
| download | dotfiles-a13be81f89f44679553e640b57c18565396dafa7.tar.gz dotfiles-a13be81f89f44679553e640b57c18565396dafa7.tar.bz2 dotfiles-a13be81f89f44679553e640b57c18565396dafa7.zip | |
docs(readme): document pre-bootstrap user creation
Make the 'wheel user must already exist' prerequisite explicit with a
three-line useradd/passwd snippet, rather than leaving it implicit in
bootstrap.sh's preconditions.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -4,25 +4,30 @@ My Arch Linux configuration, managed with [chezmoi](https://www.chezmoi.io/). ## Bootstrap on a fresh Arch install -As the regular wheel user (not root), on a minimal Arch system (only -`base` installed): +`bootstrap.sh` assumes the Arch installation guide has been followed up +to the point of having a booted system with a wheel-group user. On a +minimal system (only `base` installed), prepare the user once as root: + +```sh +pacman -S --needed sudo +useradd -m -G wheel -s /bin/bash <user> +passwd <user> +``` + +Then log in as that user and run: ```sh curl -fsSL https://raw.githubusercontent.com/sommerfelddev/dotfiles/master/bootstrap.sh | sh ``` -This installs pacman prerequisites, enables `%wheel` in sudoers, builds -`paru-bin` from the AUR, clones this repo to `~/dotfiles`, runs +The script installs pacman prerequisites, enables `%wheel` in sudoers, +builds `paru-bin` from the AUR, clones this repo to `~/dotfiles`, runs `just init`, enables recommended systemd units (fstrim, timesyncd, resolved, reflector, paccache, pkgstats, acpid, cpupower, iwd, plus tlp on laptops), refreshes the pacman mirrorlist, creates XDG user directories, and — on EFI systems missing an Arch boot entry — launches `create-efi`. -The script assumes the Arch installation guide has already been -followed up to the point of creating a wheel-group user and booting -into their session. - ## Setup on an existing system ```sh |
