bcyran/arch-bootstrap
archinstall & ansible configuration for quick Arch Linux bootstrapping.
Warning
This repo is archived because I moved my setup to NixOS and Home Manager. See my nix-config ✨.
Personal Arch Linux bootstrapping
archinstall
Once booted into archiso, run:
archinstall --config https://raw.githubusercontent.com/bcyran/arch-bootstrap/main/archinstall/user_configuration.jsonYou only need to set the disk layout and root password, ignore other options.
Once satisfied, confirm the installation.
After the process finishes, reboot into the fresh install and login as root.
Ansible
Clone the repo into /tmp:
git clone https://github.com/bcyran/arch-bootstrap.git /tmp/arch-bootstrapEnter ansible directory:
cd /tmp/arch-bootstrap/ansibleInstall required collections:
ansible-galaxy collection install -r requirements.ymlAdjust hosts.yml contents:
---
all:
hosts:
home:
ansible_host: localhostReplace home with work or vm as needed.
Run the playbook:
ansible-playbook -i hosts.yml playbook.yml --ask-become-pass --skip-tags {xorg,wayland}You probably want to install only one of the xorg or wayland configs and skip the other.
If it's the first time the playbook is ran on the given machine, and user account didn't exist before, you will be asked to provide the desired password.
After the playbook is finished, logout and login again - ready graphical environment should be started.