trimming and adding stoof
This commit is contained in:
@@ -24,6 +24,14 @@
|
|||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
|
- name: Add Mullvad repository
|
||||||
|
get_url:
|
||||||
|
url: https://repository.mullvad.net/rpm/stable/mullvad.repo
|
||||||
|
dest: /etc/yum.repos.d/mullvad-browser.repo
|
||||||
|
mode: '0644'
|
||||||
|
tags:
|
||||||
|
- packages
|
||||||
|
|
||||||
- name: Upgrade all packages
|
- name: Upgrade all packages
|
||||||
dnf5:
|
dnf5:
|
||||||
name: "*"
|
name: "*"
|
||||||
@@ -230,60 +238,6 @@
|
|||||||
state: started
|
state: started
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
|
|
||||||
# Battery
|
|
||||||
- name: Ensure systemd user directory exists
|
|
||||||
file:
|
|
||||||
path: "{{ lookup('env', 'HOME') }}/.config/systemd/user"
|
|
||||||
state: directory
|
|
||||||
mode: '0755'
|
|
||||||
tags: battery
|
|
||||||
|
|
||||||
- name: Install battery alert systemd service
|
|
||||||
copy:
|
|
||||||
dest: "{{ lookup('env', 'HOME') }}/.config/systemd/user/battery-alert.service"
|
|
||||||
mode: '0644'
|
|
||||||
content: |
|
|
||||||
[Unit]
|
|
||||||
Description=Battery level notifier
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=%h/.config/scripts/battery_alert.sh
|
|
||||||
tags: battery
|
|
||||||
|
|
||||||
- name: Install battery alert systemd timer
|
|
||||||
copy:
|
|
||||||
dest: "{{ lookup('env', 'HOME') }}/.config/systemd/user/battery-alert.timer"
|
|
||||||
mode: '0644'
|
|
||||||
content: |
|
|
||||||
[Unit]
|
|
||||||
Description=Run battery alert every 30 seconds
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
OnBootSec=15s
|
|
||||||
OnUnitActiveSec=30s
|
|
||||||
Unit=battery-alert.service
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=default.target
|
|
||||||
tags: battery
|
|
||||||
|
|
||||||
- name: Reload systemd user units
|
|
||||||
command: systemctl --user daemon-reload
|
|
||||||
environment:
|
|
||||||
XDG_RUNTIME_DIR: "/run/user/{{ ansible_uid }}"
|
|
||||||
tags: battery
|
|
||||||
|
|
||||||
- name: Enable and start battery alert timer
|
|
||||||
systemd:
|
|
||||||
name: battery-alert.timer
|
|
||||||
scope: user
|
|
||||||
enabled: yes
|
|
||||||
state: started
|
|
||||||
environment:
|
|
||||||
XDG_RUNTIME_DIR: "/run/user/{{ ansible_uid }}"
|
|
||||||
tags: battery
|
|
||||||
|
|
||||||
# Dunst
|
# Dunst
|
||||||
- name: Install dunst systemd user service
|
- name: Install dunst systemd user service
|
||||||
copy:
|
copy:
|
||||||
|
|||||||
@@ -3,12 +3,15 @@ copr_repos:
|
|||||||
- useidel/signal-desktop
|
- useidel/signal-desktop
|
||||||
- robot/veracrypt
|
- robot/veracrypt
|
||||||
- solopasha/hyprland
|
- solopasha/hyprland
|
||||||
|
- wojnilowicz/ungoogled-chromium
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- sway
|
- hyrpland
|
||||||
- swayidle
|
- hypridle
|
||||||
- swaylock
|
- hyprlock
|
||||||
- swaybg
|
- hyprpaper
|
||||||
|
- zsh
|
||||||
|
- sddm
|
||||||
- wl-clipboard
|
- wl-clipboard
|
||||||
- feh
|
- feh
|
||||||
- alacritty
|
- alacritty
|
||||||
@@ -25,6 +28,7 @@ packages:
|
|||||||
- wtype
|
- wtype
|
||||||
- papirus-icon-theme
|
- papirus-icon-theme
|
||||||
- breeze-cursor-theme
|
- breeze-cursor-theme
|
||||||
|
- arc-theme
|
||||||
- google-noto-color-emoji-fonts
|
- google-noto-color-emoji-fonts
|
||||||
- google-noto-sans-cjk-fonts
|
- google-noto-sans-cjk-fonts
|
||||||
- google-noto-emoji-fonts
|
- google-noto-emoji-fonts
|
||||||
@@ -41,7 +45,6 @@ packages:
|
|||||||
- mpv
|
- mpv
|
||||||
- udiskie
|
- udiskie
|
||||||
- pavucontrol
|
- pavucontrol
|
||||||
- flatpak
|
|
||||||
- bluez
|
- bluez
|
||||||
- bluez-tools
|
- bluez-tools
|
||||||
- blueman
|
- blueman
|
||||||
@@ -56,27 +59,20 @@ packages:
|
|||||||
- newsboat
|
- newsboat
|
||||||
- mpd
|
- mpd
|
||||||
- ncmpcpp
|
- ncmpcpp
|
||||||
- asunder
|
- asunder # Burning CDs
|
||||||
- librewolf
|
- librewolf
|
||||||
- keychain
|
|
||||||
- nicotine+
|
- nicotine+
|
||||||
- python3-rich
|
- python3-rich
|
||||||
- lximage-qt
|
- lximage-qt
|
||||||
- tlp
|
|
||||||
- tlp-rdw
|
|
||||||
- zathura
|
- zathura
|
||||||
- zathura-plugins-all
|
- zathura-plugins-all
|
||||||
- glow
|
- glow
|
||||||
- torbrowser-launcher
|
- torbrowser-launcher
|
||||||
- pulseaudio-libs-devel # SwayAudioIdleInhibit
|
|
||||||
- wayland-devel # SwayAudioIdleInhibit
|
|
||||||
- gcc-c++ # SwayAudioIdleInhibit
|
|
||||||
- wayland-protocols-devel # SwayAudioIdleInhibit
|
|
||||||
- libtool # Doom Emacs
|
- libtool # Doom Emacs
|
||||||
- meson
|
|
||||||
- ninja
|
|
||||||
- veracrypt
|
- veracrypt
|
||||||
- lowdown
|
- lowdown
|
||||||
|
- ungoogled-chromium
|
||||||
|
- mullvad-browser
|
||||||
|
|
||||||
init_groups:
|
init_groups:
|
||||||
- wheel
|
- wheel
|
||||||
@@ -111,7 +107,7 @@ init_users:
|
|||||||
groups:
|
groups:
|
||||||
- wheel
|
- wheel
|
||||||
state: present
|
state: present
|
||||||
shell: /bin/yash
|
shell: /bin/zsh
|
||||||
create_home: true
|
create_home: true
|
||||||
|
|
||||||
network_interface: "{{ ansible_default_ipv4.interface }}"
|
network_interface: "{{ ansible_default_ipv4.interface }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user