Dot_Files/roles/arch-post-setup/tasks/main.yml

89 lines
2.0 KiB
YAML

---
# tasks file for arch-post-setup
- name: Ensure yay is installed
kewlfft.aur.aur:
name: yay
- name: Ensure Choatic AUR Mirror List is in Place
become: true
ansible.builtin.shell:
cmd: >
yes | pacman-key --recv-key FBA220DFC880C036 --keyserver keyserver.ubuntu.com &&
yes | pacman-key --lsign-key FBA220DFC880C036 &&
yes | pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'
'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
creates: /etc/pacman.d/chaotic-mirrorlist
- name: Install pacman.conf
become: true
ansible.builtin.copy:
src: pacman.conf
dest: /etc/pacman.conf
owner: root
group: root
mode: 0644
- name: Update Pacman Caches
become: true
community.general.pacman:
update_cache: true
- name: Install Needed Programs via Pacman
become: true
community.general.pacman:
name:
- ungoogled-chromium
- firefox-developer-edition
- ffmpeg
- jq
- inotify-tools
- wf-recorder
- mako
- wl-clipboard
- udiskie
- playerctl
- light
- wev
- wofi
- qbittorrent
- qt5-wayland
- qt6-wayland
- swaybg
# Zathura pdf viewer stuff
- zathura
- zathura-pdf-mupdf
- texlive-most
- texlive-latexextra
- texlive-lang
- texlive-langextra
- biber
- texlive-bibtexextra
- texlive-fontsextra
# Asus Linux Stuff
- asusctl
- supergfxctl
- linux-g14
- linux-g14-headers
state: present
- name: Install Needed Programs From AUR
kewlfft.aur.aur:
name:
- hyprland-bin
- waybar-hyprland-git
- kbct-git
- wezterm-nightly-bin
- swaylock-effects-git
- pw-volume
state: present
- name: Enable and Start Needed Systemd Services
become: true
ansible.builtin.systemd:
name: "{{ item }}"
state: started
enabled: true
loop:
- supergfxd
- power-profiles-daemon.service