artix, add changes and fixes while getting newer Intel workstation going properly.

This commit is contained in:
me
2026-09-11 07:56:50 -07:00
parent 197bbc2b03
commit baab102be8
7 changed files with 28 additions and 12 deletions
+9 -5
View File
@@ -21,7 +21,6 @@
locate: mlocate locate: mlocate
alsa: alsa-utils alsa: alsa-utils
stress: stress stress: stress
fwupdmgr: fwupd
- name: General | Facts | Package | Parrot OS Fixes - name: General | Facts | Package | Parrot OS Fixes
set_fact: set_fact:
@@ -101,6 +100,11 @@
ansible_distribution_file: "{{ prov_dir }}/ansible_distribution.txt" ansible_distribution_file: "{{ prov_dir }}/ansible_distribution.txt"
ansible_pkg_mgr_file: "{{ prov_dir }}/ansible_pkg_mgr.txt" ansible_pkg_mgr_file: "{{ prov_dir }}/ansible_pkg_mgr.txt"
- name: General | Facts | Package | Update Command | Helpers | pacman
set_fact:
update_accept_var: '--noconfirm'
when: ansible_pkg_mgr == "pacman"
- name: General | Facts | Package | Update Command | Store Variables - name: General | Facts | Package | Update Command | Store Variables
shell: "{{ item }}" shell: "{{ item }}"
loop: loop:
@@ -154,18 +158,18 @@
pacman) pacman)
echo "*** Pacman ***" echo "*** Pacman ***"
pacman_accept="" auto_accept=""
if [[ -n "$accept" ]]; then if [[ -n "$accept" ]]; then
pacman_accept="--noconfirm" auto_accept="{{ update_accept_var }}"
fi fi
sudo pacman -Syu $pacman_accept || sudo pacman -Syu $auto_accept ||
return 1 return 1
echo -e "\n" echo -e "\n"
if [[ "$LOGNAME" != "root" ]]; then if [[ "$LOGNAME" != "root" ]]; then
echo "*** AUR (yay) ***" echo "*** AUR (yay) ***"
yay -Syu $pacman_accept || return 2 yay -Syu $auto_accept || return 2
else else
echo "*** User is root, skipping AUR (yay) ***" echo "*** User is root, skipping AUR (yay) ***"
fi fi
+2
View File
@@ -54,6 +54,8 @@
vlc_plugins: vlc-plugins-all vlc_plugins: vlc-plugins-all
blueman: blueman blueman: blueman
mpv: mpv mpv: mpv
transmission_gtk: transmission-gtk
transmission_qt: transmission-qt
- name: Workstation | Facts | Package | apt (All Distros) - name: Workstation | Facts | Package | apt (All Distros)
+1 -4
View File
@@ -10,7 +10,7 @@
# Please see https://i3wm.org/docs/userguide.html for a complete reference! # Please see https://i3wm.org/docs/userguide.html for a complete reference!
set $FIREFOX "sh -c '(which firefox && firefox) || (which firefox-esr && firefox-esr) || (which firefox-flatpak && firefox-flatpak)'" set $FIREFOX "sh -c '(which firefox && firefox) || (which firefox-esr && firefox-esr) || (which firefox-flatpak && firefox-flatpak)'"
set $TRANSMISSION "sh -c '(which transmission && transmission) || (which transmission-gtk && transmission-gtk) || (which transmission-flatpak && transmission-flatpak)'" set $TRANSMISSION "sh -c '(which transmission && transmission) || (which transmission-qt && transmission-qt) || (which transmission-gtk && transmission-gtk) || (which transmission-flatpak && transmission-flatpak)'"
# Use the `xev` command to see the name and code of a keyboard key. # Use the `xev` command to see the name and code of a keyboard key.
@@ -394,6 +394,3 @@ exec_always --no-startup-id "killall picom; picom -f --backend xrender"
# Battery # Battery
exec_always --no-startup-id bash -c 'pkill -ef "bash `which battery_nag.sh`" >~/Reports/battery_nag.log 2>&1; battery_nag.sh >>~/Reports/battery_nag.log 2>&1' exec_always --no-startup-id bash -c 'pkill -ef "bash `which battery_nag.sh`" >~/Reports/battery_nag.log 2>&1; battery_nag.sh >>~/Reports/battery_nag.log 2>&1'
# Reset DMenu
exec_always --no-startup-id bash -c 'find ~/.*cache* -name "*"dmenu"*" -print -delete'
+4 -1
View File
@@ -42,10 +42,13 @@
repo: "{{ aur_helper_url }}" repo: "{{ aur_helper_url }}"
dest: "{{ aur_helper_dir }}" dest: "{{ aur_helper_dir }}"
- name: General | Software | AUR | Install | Change Permissions
shell: "chown -Rc {{ aur_user }}:wheel {{ aur_helper_dir }}"
- name: General | Software | AUR | Install | Build & Integrate - name: General | Software | AUR | Install | Build & Integrate
shell: "cd {{ aur_helper_dir }} && makepkg -si --noconfirm" shell: "cd {{ aur_helper_dir }} && makepkg -si --noconfirm"
become_user: "{{ aur_user }}"
changed_when: true changed_when: true
when: yay_check.rc != 0 when: yay_check.rc != 0
become_user: "{{ aur_user }}"
+1 -1
View File
@@ -67,7 +67,6 @@
- "{{ ca_certificates }}" - "{{ ca_certificates }}"
- "{{ alsa }}" - "{{ alsa }}"
- "{{ stress }}" - "{{ stress }}"
- "{{ fwupdmgr }}"
state: present state: present
- name: General | Software | Packages | Install Software (DEV) - name: General | Software | Packages | Install Software (DEV)
@@ -110,6 +109,7 @@
name: name:
- which - which
- "{{ cron }}" - "{{ cron }}"
- pacman-contrib
state: present state: present
when: ansible_pkg_mgr == "pacman" when: ansible_pkg_mgr == "pacman"
@@ -48,6 +48,8 @@
- "{{ rhythmbox }}" - "{{ rhythmbox }}"
- "{{ blueman }}" - "{{ blueman }}"
- "{{ mpv }}" - "{{ mpv }}"
- "{{ transmission_gtk }}"
- "{{ transmission_qt }}"
state: present state: present
- name: Workstation | Linux | Software | Packages | Install Audio (Looking at you, Artix) - name: Workstation | Linux | Software | Packages | Install Audio (Looking at you, Artix)
+9 -1
View File
@@ -34,7 +34,8 @@
when: ansible_pkg_mgr == "pacman" when: ansible_pkg_mgr == "pacman"
and ansible_service_mgr == "runit" and ansible_service_mgr == "runit"
when: ansible_distribution in ("Debian", "Ubuntu", "Arch", "Artix") when: ansible_distribution in ("Debian", "Ubuntu")
or ansible_pkg_mgr in ("pacman", "dnf")
## Specific Distros ## ## Specific Distros ##
@@ -108,3 +109,10 @@
path: "{{ runit_service_dir }}/mullvad" path: "{{ runit_service_dir }}/mullvad"
state: absent state: absent
when: ansible_service_mgr == "runit" when: ansible_service_mgr == "runit"
- name: Workstation | Software | VPN | Mullvad | PATH | Enable Lockdown
shell: "{{ item }}"
loop:
- mullvad auto-connect set on
- mullvad lockdown-mode set on
become_user: "{{ user }}"