Enhance Sway/Noctalia integration and align desktop docs

- Add canonical usb-drive-manager plugin to Noctalia (symlink from official)
- Remove nm-applet and blueman packages from nymph Sway session
- Run udiskie without tray (backend for automount/LUKS, UI via usb-drive-manager)
- Add screenOverrides support to Noctalia bar via inventory variables
- Add host_packages_absent task to packages_void role
- Update desktop docs with full plugin list and config layering
- Add focused validation check for Sway/Noctalia bootstrap
This commit is contained in:
Fabio Scotto di Santolo
2026-04-22 17:11:30 +02:00
parent 2dc0d513cc
commit 20d087d2ef
9 changed files with 70 additions and 16 deletions

View File

@@ -298,6 +298,8 @@ desktop_sway_dotfiles:
noctalia_bar_monitors:
- DP-1
noctalia_screen_overrides: []
desktop_flatpak_packages:
- be.alexandervanhee.gradia
- ch.protonmail.protonmail-bridge

View File

@@ -42,3 +42,14 @@ host_sway_dotfiles:
noctalia_bar_monitors:
- DP-1
- eDP-1
noctalia_screen_overrides:
- name: DP-1
enabled: false
- name: eDP-1
enabled: false
host_packages_absent:
- network-manager-applet
- blueman

View File

@@ -71,4 +71,11 @@
| unique
}}
state: present
update_cache: false
update_cache: false
- name: Remove host-absent packages on Void Linux
tags: [packages]
community.general.xbps:
name: "{{ host_packages_absent | default([]) }}"
state: absent
when: (host_packages_absent | default([])) | length > 0

View File

@@ -113,6 +113,21 @@
owner: "{{ username }}"
group: "{{ user_group }}"
- name: Check if usb-drive-manager is a real directory (needs migration to symlink)
ansible.builtin.stat:
path: "{{ user_home }}/.config/noctalia/plugins/usb-drive-manager"
follow: false
register: usb_drive_manager_path_state
- name: Remove old usb-drive-manager directory (migration to symlink)
ansible.builtin.file:
path: "{{ user_home }}/.config/noctalia/plugins/usb-drive-manager"
state: absent
when:
- usb_drive_manager_path_state.stat.exists
- usb_drive_manager_path_state.stat.isdir
- not (usb_drive_manager_path_state.stat.islnk | default(false))
- name: Link official Noctalia plugins
ansible.builtin.file:
src: "{{ user_home }}/.local/share/noctalia-plugins/official/{{ item }}"
@@ -124,3 +139,4 @@
loop:
- polkit-agent
- screenshot
- usb-drive-manager

View File

@@ -70,7 +70,14 @@
"rightClickAction": "controlCenter",
"rightClickCommand": "",
"rightClickFollowMouse": true,
"screenOverrides": [],
"screenOverrides": [
{% for override in noctalia_screen_overrides | default([]) %}
{
"enabled": {{ override.enabled | lower }},
"name": "{{ override.name }}"
}{% if not loop.last %},{% endif %}
{% endfor %}
],
"showCapsule": true,
"showOnWorkspaceSwitch": true,
"showOutline": false,

View File

@@ -22,7 +22,7 @@ exec pipewire
exec pipewire-pulse
exec wireplumber
exec kanshi
exec udiskie
exec udiskie --no-tray
exec wl-paste --watch cliphist store
exec qs -c noctalia-shell