system/inventory.yaml
Marty Oehme cf9e8165df
ref(inventory): Create target type indirection
Allows setting the current target to any of the groups sorted by target
type (i.e. 'what' type of machine it is). For example, we currently
target our system to a 'workstation' type machine. But we could switch
it to a headless machine which would not install any of the DE/GUI
grouped packages.
2025-02-23 11:39:26 +01:00

121 lines
2 KiB
YAML

# example separation of packages: GUIs and DEs in workstation, only terminal in headless
workstation:
children:
target_system: # mark this the current target system
headless:
children:
target_system:
children:
chroot_target:
vars:
desired_package_state: latest
hostsystem:
hosts:
127.0.0.1:
ansible_connection: local
chroot_target:
hosts:
void_chrooted:
ansible_host: /mnt/void
ansible_connection: community.general.chroot
ansible_chroot_exe: arch-chroot
local_target:
hosts:
void_local:
ansible_host: 127.0.0.1
interface:
children:
workstation:
vars:
fonts:
- nerd-fonts-otf
- noto-fonts-ttf
- noto-fonts-cjk
- noto-fonts-emoji
packages_de:
- bemenu
- pinentry-bemenu
- clipman
- grim
- kanshi
- mako
- slurp
- waylock
packages_gui:
- gimp
- qutebrowser
- sioyek
- wdisplays
terminal:
children:
workstation:
headless:
vars:
packages_terminal:
- abduco
- atuin
- autofs
- bat
- bc
- bottom
- brightnessctl
- chafa
- docker
- docker-compose
- docx2txt
- duf
- dust
- entr
- eza
- fd
- flavours # TODO: To be replaced with tinty
- fwupd
- gallery-dl
- git-lfs
- htop
- iftop
- jrnl
- khal
- khard
- moreutils
- msmtp
- neomutt
- neovim
- newsboat
- nushell
- papis
- pass
- pdftk
- podman
- restic
- ripgrep
- sc-im
- starship
- swaybg
- swayidle
- task
- tasksh
- tectonic
- thermald
- timewarrior
- topgrade
- uv
- vdirsyncer
- vifm
- visidata
- wezterm
- wlopm
- wlsunset
- wtype
- yt-dlp
- zk
- zoxide
- zr # zsh plugin manager
- zsh