aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
blob: 8ae2b576cb1675fcfdb8ce985a0c8360eb7d4168 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# dotfiles

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):

```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
`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
chezmoi init --source ~/dotfiles
chezmoi apply -v
```