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-07-23 16:52:20 -05:00
|
|
|
set -o pipefail; yes | pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com && yes | pacman-key --lsign-key 3056513887B78AEB && 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-04-02 22:12:02 -05:00
|
|
|
mode: "0644"
|
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-06-01 14:31:41 -05:00
|
|
|
# Pacman goodies, importantly checkupdates used in waybar
|
|
|
|
- pacman-contrib
|
2023-07-23 19:43:25 -05:00
|
|
|
# Driver support for Intel GPUs for vulkan
|
|
|
|
- vulkan-intel
|
2023-05-13 07:16:58 -05:00
|
|
|
# Access linux machine from phones
|
|
|
|
- kdeconnect
|
2023-02-15 15:44:31 -06:00
|
|
|
- chromium
|
2023-07-04 15:18:33 -05:00
|
|
|
- github-cli
|
2022-10-17 02:33:48 -05:00
|
|
|
- firefox-developer-edition
|
2023-07-23 16:51:50 -05:00
|
|
|
- thunderbird
|
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-05-01 01:38:20 -05:00
|
|
|
- docker-compose
|
2023-02-27 17:24:25 -06:00
|
|
|
- docker-buildx
|
2023-02-26 22:03:19 -06:00
|
|
|
- llvm
|
2023-05-01 03:08:20 -05:00
|
|
|
- musl
|
2023-02-26 22:04:00 -06:00
|
|
|
- clang
|
2023-04-03 15:42:51 -05:00
|
|
|
- bat
|
2023-02-27 19:38:18 -06:00
|
|
|
- ccache
|
2023-03-04 02:35:25 -06:00
|
|
|
- timeshift
|
2023-07-23 13:20:10 -05:00
|
|
|
- power-profiles-daemon
|
2023-04-11 12:40:54 -05:00
|
|
|
- polkit-kde-agent # Allows apps to elevate themselves by prompting for password, e.g. timeshift
|
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
|
2023-07-09 14:31:08 -05:00
|
|
|
# Fonts
|
|
|
|
- noto-fonts
|
|
|
|
- noto-fonts-cjk
|
|
|
|
- noto-fonts-emoji
|
|
|
|
- ttf-firacode-nerd
|
|
|
|
- ttf-liberation
|
|
|
|
- ttf-roboto
|
|
|
|
- ttf-opensans
|
2023-07-10 10:30:16 -05:00
|
|
|
- ttf-meslo-nerd
|
2023-04-20 02:13:29 -05:00
|
|
|
# Terminals
|
|
|
|
- kitty
|
2022-10-16 19:23:34 -05:00
|
|
|
# Zathura pdf viewer stuff
|
|
|
|
- zathura
|
|
|
|
- zathura-pdf-mupdf
|
|
|
|
- texlive-latexextra
|
|
|
|
- texlive-lang
|
|
|
|
- texlive-langextra
|
|
|
|
- biber
|
|
|
|
- texlive-bibtexextra
|
|
|
|
- texlive-fontsextra
|
2023-03-04 02:47:19 -06:00
|
|
|
# Virtual Machines
|
|
|
|
- qemu-full
|
|
|
|
- virt-manager
|
|
|
|
- dnsmasq
|
2023-03-07 15:30:37 -06:00
|
|
|
- dmidecode
|
2023-07-09 14:49:19 -05:00
|
|
|
# Command completion for bash & zsh
|
|
|
|
- bash-completion
|
|
|
|
- zsh-completions
|
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
|
2023-06-03 19:57:25 -05:00
|
|
|
- waybar-hyprland-git
|
2022-10-17 02:33:48 -05:00
|
|
|
- kbct-git
|
|
|
|
- swaylock-effects-git
|
|
|
|
- pw-volume
|
2023-05-04 02:10:33 -05:00
|
|
|
- wezterm-git
|
2022-10-17 02:49:41 -05:00
|
|
|
- spotify
|
2023-02-15 15:17:30 -06:00
|
|
|
- powershell-bin
|
2023-07-09 14:56:00 -05:00
|
|
|
- ttf-ms-win11-auto
|
2023-07-20 18:08:58 -05:00
|
|
|
- xwaylandvideobridge-cursor-mode-2-git
|
2023-07-23 19:56:13 -05:00
|
|
|
- clight-git
|
|
|
|
- clight-gui-git
|
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:
|
|
|
|
- power-profiles-daemon.service
|
2023-06-03 19:57:25 -05:00
|
|
|
- docker.service
|
|
|
|
- libvirtd.service
|
|
|
|
- virtlogd.service
|
|
|
|
- cronie.service
|
2023-06-03 23:46:39 -05:00
|
|
|
- man-db.timer
|
2023-06-03 22:10:20 -05:00
|
|
|
- polkit.service
|
2023-07-23 19:56:13 -05:00
|
|
|
- clightd.service
|
2023-03-04 19:08:00 -06:00
|
|
|
|
2023-06-03 19:57:45 -05:00
|
|
|
- name: Import Other Arch Tasks
|
2023-06-03 22:10:38 -05:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: '{{ task }}'
|
|
|
|
loop_control:
|
|
|
|
loop_var: task
|
|
|
|
loop:
|
|
|
|
- reflector.yml
|
|
|
|
- bluetooth.yml
|