This is a combination of shell scripts and Ansible playbooks that set up an Arch Linux installation on a Lenovo T14 laptop. It is meant to work in combination with a dotfiles repository. This repository deals with all the stuff that requires root or is non-user specific.
This installs aur-auto-vote which is a tool to automatically vote for AUR packages. It install a SystemD timer that runs automatically.
TODO: Document Ansible Vault & required fields
-
Download a new ISO
-
Use Balena Etcher or similar to write the ISO to a USB drive
-
Boot the laptop using the USB drive and wait for the command line to appear
-
Adjust settings in
arch-env.sh
(a template is available inarch-env.sh.template
) -
Follow the Bootstrap steps
-
Run
bootstrap-1.sh <IP>
on source machine-
This reboots automatically when there are no errors
-
-
Login and find the IP
-
Run
bootstrap-2.sh <IP>
on source machine -
Reboot
-
Run chezmoi dotfiles according to its documentation: https://github.com/lfrancke/dotfiles
-
Reinitialize the Chezmoi directory with the SSH protocol:
chezmoi cd && git remote set-url origin git@github.com:lfrancke/dotfiles.git
-
Reboot
iwctl --passphrase <passphrase> station <device: wlan0> connect <SSID>
passwd
systemctl start sshd
# Find IP:
ip a
-
To get the Fingerprint reader to work currently requires a "testing" firmware: nmikhailov/Validity90#72 (comment)
-
https://wiki.archlinux.org/index.php/Firefox/Tweaks#Move_disk_cache_to_RAM