First install Archlinux base. Then:
pacman -S sudouseradd -m <your-username> -G wheelpacman -S python
If you want to perform the installation from another host, you'll need:
pacman -S opensshsystemctl start sshd- For convenience, copy your ssh public key to .ssh/authorized_keys
Otherwise, if you want to install from localhost, you'll need:
pacman -S ansible- Transfer this repository to your laptop
Run the main.yml playbook to configure your laptop.
- Divide tasks in different files for different purposes
- Create role variables to store packages and other role variables
- Use
become_user: {{ laptop_user }}instead ofbecome: false - Add handlers for config files