aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:23:38 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:23:38 +0100
commit4dd14d6038cb51a3854051710dc1fc48a93dfa80 (patch)
tree2725596e01a115399e6054c7e22ea5498fedf488 /README.md
parent31345ce0db8112308b78d7f09b9f1dd2c3973b73 (diff)
downloaddotfiles-4dd14d6038cb51a3854051710dc1fc48a93dfa80.tar.gz
dotfiles-4dd14d6038cb51a3854051710dc1fc48a93dfa80.tar.bz2
dotfiles-4dd14d6038cb51a3854051710dc1fc48a93dfa80.zip
feat(bootstrap): add Arch post-install steps
After 'just init' the script now: - enables recommended systemd units that base.txt installs but nothing was activating: fstrim.timer, systemd-timesyncd, systemd-resolved, reflector.timer, paccache.timer, pkgstats.timer, acpid, cpupower, iwd - enables tlp.service only when a battery is present (/sys/class/power_supply/BAT*) - refreshes the pacman mirrorlist via reflector using the already- deployed /etc/xdg/reflector/reflector.conf - runs xdg-user-dirs-update to create ~/Documents, ~/Downloads, etc. Each step is soft-fail: warns and continues on failure rather than aborting the whole bootstrap. pacman.conf tuning is intentionally left out (should be managed via chezmoi's etc/ pipeline). User creation is also out of scope; the script continues to require the wheel user to exist beforehand, per the Arch installation guide.
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 11 insertions, 4 deletions
diff --git a/README.md b/README.md
index af8264c..8ae2b57 100644
--- a/README.md
+++ b/README.md
@@ -4,18 +4,25 @@ My Arch Linux configuration, managed with [chezmoi](https://www.chezmoi.io/).
## Bootstrap on a fresh Arch install
-On a minimal Arch system (only `base` installed), as the regular wheel
-user:
+As the regular wheel user (not root), on a minimal Arch system (only
+`base` installed):
```sh
curl -fsSL https://raw.githubusercontent.com/sommerfelddev/dotfiles/master/bootstrap.sh | sh
```
-This installs prerequisites, enables `%wheel` in sudoers, builds
+This installs pacman 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 —
+`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