Skip to content

A repository with scripts and Ansible roles I use to set up my Lenovo T14

License

Notifications You must be signed in to change notification settings

lfrancke/arch-setup

Repository files navigation

Arch Setup

What does it do?

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.

Contents (Ansible Roles)

aur-auto-vote

This installs aur-auto-vote which is a tool to automatically vote for AUR packages. It install a SystemD timer that runs automatically.

Installation

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 in arch-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

Bootstrap steps
iwctl --passphrase <passphrase> station <device: wlan0> connect <SSID>

passwd
systemctl start sshd

# Find IP:
ip a

Misc

About

A repository with scripts and Ansible roles I use to set up my Lenovo T14

Topics

Resources

License

Stars

Watchers

Forks