Install all the things

This commit is contained in:
Ariejan de Vroom 2024-06-06 22:49:14 +02:00
parent 8b3c8e506d
commit 5862354ec5
Signed by: ariejan
GPG Key ID: AD739154F713697B
6 changed files with 104 additions and 2 deletions

View File

@ -19,19 +19,59 @@ packages:
- docker-compose
- e2fsprogs
- fzf
- firefox
- flatpak
- git
- gnupg
- htop
- iotop
- linux-firmware
- man
- man-db
- man-pages
- neofetch
- networkmanager
- openssh
- openvpn
- pipewire
- pipewire-pulse
- rsync
- screen
- sudo
- tree
- unrar-free
- unzip
- usbutils
- wget
- zip
- zsh
aur_packages:
- gohugo-extended-bin
flatpaks:
- com.github.tchx84.Flatseal
- com.slack.Slack
- com.spotify.Client
- com.valvesoftware.Steam
- io.github.flattool.Warehouse
- md.obsidian.Obsidian
- com.todoist.Todoist
- org.libreoffice.LibreOffice
- org.mozilla.Thunderbird
base_fonts:
- adobe-source-code-pro-fonts
- adobe-source-sans-pro-fonts
- adobe-source-serif-pro-fonts
- gnu-free-fonts
- noto-fonts
- noto-fonts-cjk
- noto-fonts-emoji
- powerline-fonts
- ttf-anonymous-pro
- ttf-dejavu
- otf-cascadia-code
- ttf-cascadia-code
- ttf-hack
- ttf-hack-nerd

View File

@ -0,0 +1,22 @@
---
- name: Install desktop environment (GNOME)
block:
- name: Install Gnome
community.general.pacman:
name:
- gnome
- gnome-extra
- gnome-shell
- gnome-control-center
- gdm
- xdg-desktop-portal-gnome
- gnome-shell-extension-dash-to-dock
- gnome-shell-extension-openweather
state: present
become: true
- name: Start systemd service - gdm.service
ansible.builtin.systemd:
name: gdm.service
enabled: yes
become: true

View File

@ -0,0 +1,12 @@
---
- name: Install AUR helper
kewlfft.aur.aur:
name: "{{ aur_helper }}"
state: present
- name: Install AUR packages
kewlfft.aur.aur:
name: "{{ aur_packages }}"
state: present
use: {{ aur_helper }}

View File

@ -0,0 +1,13 @@
---
- name: Add Flathub repository
community.general.flatpak_remote:
name: flathub
state: present
flatpakrepo_url: https://flathub.org/repo/flathub.flatpakrepo
become: true
- name: Install flatpaks
community.general.flatpak:
name: "{{ flatpaks }}"
state: present
remote: flathub

View File

@ -0,0 +1,6 @@
---
- name: Install fonts
community.general.pacman:
name: "{{ base_fonts }}"
state: present
become: true

View File

@ -4,3 +4,12 @@
name: "{{ packages }}"
state: present
become: true
- name: Install font packages
ansible.builtin.import_tasks: fonts.yml
- name: Install aur packages
ansible.builtin.import_tasks: aur.yml
- name: Install flatpaks
ansible.builtin.import_tasks: flatpak.yml