2022-10-16 16:23:49 -05:00
|
|
|
---
|
|
|
|
# tasks file for arch-post-setup
|
|
|
|
- name: Ensure yay is installed
|
|
|
|
kewlfft.aur.aur:
|
|
|
|
name: yay
|
|
|
|
|
2022-10-17 02:33:48 -05:00
|
|
|
- name: Ensure Choatic AUR Mirror List is in Place
|
|
|
|
become: true
|
|
|
|
ansible.builtin.shell:
|
|
|
|
cmd: >
|
2023-02-26 19:49:14 -06:00
|
|
|
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'
|
2022-10-17 02:33:48 -05:00
|
|
|
creates: /etc/pacman.d/chaotic-mirrorlist
|
|
|
|
|
2022-10-16 16:23:49 -05:00
|
|
|
- name: Install pacman.conf
|
|
|
|
become: true
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: pacman.conf
|
|
|
|
dest: /etc/pacman.conf
|
|
|
|
owner: root
|
|
|
|
group: root
|
2023-02-26 19:49:14 -06:00
|
|
|
mode: 644
|
2022-10-16 16:23:49 -05:00
|
|
|
|
|
|
|
- name: Update Pacman Caches
|
|
|
|
become: true
|
|
|
|
community.general.pacman:
|
|
|
|
update_cache: true
|
|
|
|
|
|
|
|
- name: Install Needed Programs via Pacman
|
|
|
|
become: true
|
|
|
|
community.general.pacman:
|
|
|
|
name:
|
2023-02-15 15:44:31 -06:00
|
|
|
- chromium
|
2022-10-17 02:33:48 -05:00
|
|
|
- firefox-developer-edition
|
2022-10-16 16:23:49 -05:00
|
|
|
- ffmpeg
|
|
|
|
- jq
|
|
|
|
- inotify-tools
|
|
|
|
- wf-recorder
|
|
|
|
- mako
|
|
|
|
- wl-clipboard
|
|
|
|
- udiskie
|
|
|
|
- playerctl
|
|
|
|
- light
|
|
|
|
- wev
|
|
|
|
- wofi
|
2022-10-16 23:55:31 -05:00
|
|
|
- qbittorrent
|
|
|
|
- qt5-wayland
|
|
|
|
- qt6-wayland
|
2022-10-17 02:33:48 -05:00
|
|
|
- swaybg
|
2022-11-01 17:26:35 -05:00
|
|
|
- bind
|
2022-11-01 17:48:23 -05:00
|
|
|
- man
|
2022-11-08 12:09:07 -06:00
|
|
|
- silicon
|
2023-01-11 09:44:40 -06:00
|
|
|
- slurp
|
2023-03-05 02:31:42 -06:00
|
|
|
- gifski
|
2023-01-11 09:44:40 -06:00
|
|
|
- grim
|
2023-02-08 09:22:14 -06:00
|
|
|
- wireshark-qt
|
2023-02-26 19:43:53 -06:00
|
|
|
- libva-mesa-driver
|
2023-01-26 00:41:03 -06:00
|
|
|
- docker
|
2023-02-27 17:24:25 -06:00
|
|
|
- docker-buildx
|
2023-02-26 22:03:19 -06:00
|
|
|
- llvm
|
2023-02-26 22:04:00 -06:00
|
|
|
- clang
|
2023-02-27 19:38:18 -06:00
|
|
|
- ccache
|
2023-03-04 02:35:25 -06:00
|
|
|
- timeshift
|
2023-03-08 21:37:29 -06:00
|
|
|
- xdg-desktop-portal
|
2023-03-07 06:20:03 -06:00
|
|
|
- cronie
|
2023-02-26 19:49:04 -06:00
|
|
|
- mpv # Video playing from command line
|
2023-02-20 06:13:15 -06:00
|
|
|
- fuse2 # appimage support
|
2022-10-16 19:23:34 -05:00
|
|
|
# Zathura pdf viewer stuff
|
|
|
|
- zathura
|
|
|
|
- zathura-pdf-mupdf
|
|
|
|
- texlive-most
|
|
|
|
- texlive-latexextra
|
|
|
|
- texlive-lang
|
|
|
|
- texlive-langextra
|
|
|
|
- biber
|
|
|
|
- texlive-bibtexextra
|
|
|
|
- texlive-fontsextra
|
2022-10-16 16:23:49 -05:00
|
|
|
# Asus Linux Stuff
|
|
|
|
- asusctl
|
|
|
|
- supergfxctl
|
|
|
|
- linux-g14
|
|
|
|
- linux-g14-headers
|
2023-03-04 02:47:19 -06:00
|
|
|
# Virtual Machines
|
|
|
|
- qemu-full
|
|
|
|
- virt-manager
|
|
|
|
- dnsmasq
|
2023-03-07 15:30:37 -06:00
|
|
|
- dmidecode
|
2022-10-16 16:23:49 -05:00
|
|
|
state: present
|
|
|
|
|
2022-10-17 02:33:48 -05:00
|
|
|
- name: Install Needed Programs From AUR
|
|
|
|
kewlfft.aur.aur:
|
|
|
|
name:
|
|
|
|
- hyprland-bin
|
2023-03-08 21:37:29 -06:00
|
|
|
- xdg-desktop-portal-hyprland-git
|
2022-11-20 22:20:24 -06:00
|
|
|
- waybar-hyprland
|
2022-10-17 02:33:48 -05:00
|
|
|
- kbct-git
|
2022-11-20 22:20:24 -06:00
|
|
|
- wezterm-git
|
2022-10-17 02:33:48 -05:00
|
|
|
- swaylock-effects-git
|
|
|
|
- pw-volume
|
2022-10-17 02:49:41 -05:00
|
|
|
- spotify
|
2023-02-15 15:17:30 -06:00
|
|
|
- powershell-bin
|
2022-10-17 02:33:48 -05:00
|
|
|
state: present
|
|
|
|
|
2023-01-26 00:41:03 -06:00
|
|
|
- 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
|
2023-03-04 02:47:19 -06:00
|
|
|
- libvirt
|
2023-01-26 00:41:03 -06:00
|
|
|
shell: /usr/bin/zsh
|
|
|
|
state: present
|
|
|
|
when: user is defined and not user == 'root'
|
|
|
|
|
2022-10-16 16:23:49 -05:00
|
|
|
- name: Enable and Start Needed Systemd Services
|
|
|
|
become: true
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
name: "{{ item }}"
|
|
|
|
state: started
|
|
|
|
enabled: true
|
|
|
|
loop:
|
|
|
|
- supergfxd
|
|
|
|
- power-profiles-daemon.service
|
2023-01-26 00:41:03 -06:00
|
|
|
- docker
|
2023-03-04 02:47:19 -06:00
|
|
|
- libvirtd
|
2023-03-07 06:20:03 -06:00
|
|
|
- cronie
|
2023-03-04 19:08:00 -06:00
|
|
|
|
|
|
|
- name: Add Mandb Cronjob
|
|
|
|
ansible.builtin.cron:
|
|
|
|
name: "Ensure Man database is built"
|
|
|
|
minute: "0"
|
|
|
|
user: "{{ user }}"
|
|
|
|
job: /usr/bin/mandb
|
|
|
|
state: present
|