Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Arch Linux setup and configuration via Ansible for a Laptop or Desktop PC.

Notifications You must be signed in to change notification settings

ajfriesen/ansible-arch-laptop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arch Logo

Ansible Arch [Desk|Lap]top

This is a playbook for my StarLabs Starlite MK IV installing and configuring most packages I use on this device.

Goal: I want to keep multiple machines in sync in regards of packages and configuration.

  • StarLabs StarLite MK IV

Comming soon (maybe|hopefully):

  • Desktop (Currently on Ubuntu 22.04)
  • Tuxedo Aura15 (work, currently on Ubuntu 22.04)

Arch Setup

Started with Archiso:

  • Current Release: 2022.08.05
  • Included Kernel: 5.18.16

I used the official archinstall scrip to initally setup my device. Here my initial config for the StarLabs Starlite MK IV.

Ansible run

ansible-playbook starlite.yaml -K

AUR packages

I handle AUR packages without ansible for now. Reason beeing, there seems to be no ansible module I would trust to do that now. But I will use yay

Install yay:

git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si

Installing AUR packages

yay --aur --sync \
    zoom \
    slack-desktop \
    visual-studio-code-bin \
    kopia \
    kopia-ui-bin \
    syncthing-gtk-python3 \
    signal-desktop-beta-bin \
    google-chrome \
    youtube-music-bin \
    typora \
    insomnia-bin \
    slack-desktop \

TODO

  • kubectl
  • kubectx
  • terraform
  • tfenv
  • terragrunt
  • pyenv
  • pyenv virtualenv
  • oh-my-zsh
  • gnome applets
    • caffeine
    • AppIndicator and KStatusNotifierItem Support
  • snapper
  • virtmanager setup for local kvm vms
  • tailscale
  • openvpn
  • yubikey login
  • fwdupd firmware thingy
  • vim
  • kubectl and helm env
  • Deactivate promtail and possibly other services when metered connection is set

Development

Some notes for development.

Lint yaml:

yamllint .

ansible syntax check:

ansible-playbook --syntax-check playbook.yaml

ansible lint, checks for "best" practises in ansible playbooks:

ansible-lint playbook.yaml

Resources to check

Author

This project was created by Andrej Friesen. Inspired by Jeff Geerling Mac Development Ansible Playbook.

Logo

I have created/curated the logo myself with my awesome GIMP skill.

About

Arch Linux setup and configuration via Ansible for a Laptop or Desktop PC.

Topics

Resources

Stars

Watchers

Forks

Languages