--- # 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: > set -o pipefail; 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: - chromium - firefox-developer-edition - ffmpeg - jq - inotify-tools - wf-recorder - mako - wl-clipboard - udiskie - playerctl - light - wev - wofi - qbittorrent - qt5-wayland - qt6-wayland - swaybg - bind - man - silicon - slurp - gifski - grim - wireshark-qt - libva-mesa-driver - docker - docker-buildx - llvm - clang - ccache - timeshift - xdg-desktop-portal - cronie - mpv # Video playing from command line - fuse2 # appimage support # 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 # Virtual Machines - qemu-full - virt-manager - dnsmasq - dmidecode state: present - name: Install Needed Programs From AUR kewlfft.aur.aur: name: - hyprland-bin - xdg-desktop-portal-hyprland-git - waybar-hyprland - kbct-git - wezterm-git - swaylock-effects-git - pw-volume - spotify - powershell-bin state: present - name: Get User ansible.builtin.set_fact: user: "{{ ansible_env.USER | default('sam') }}" changed_when: false - name: Ensure User Groups and Shell Are Set become: true ansible.builtin.user: name: "{{ user }}" groups: - wheel - docker - sys - log - libvirt shell: /usr/bin/zsh state: present when: user is defined and not user == 'root' - name: Enable and Start Needed Systemd Services become: true ansible.builtin.systemd: name: "{{ item }}" state: started enabled: true loop: - supergfxd - power-profiles-daemon.service - docker - libvirtd - cronie - name: Add Mandb Cronjob ansible.builtin.cron: name: "Ensure Man database is built" minute: "0" user: "{{ user }}" job: /usr/bin/mandb state: present