From a12e646234d194ee38c1f2500cd94bc8d0aa0f12 Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Wed, 13 May 2026 22:41:33 +0200 Subject: [PATCH] Deploy nymph WirePlumber camera config via host_i3_dotfiles Consolidate the WirePlumber camera priority file under the same host_i3_dotfiles mechanism used for autorandr, dropping the bespoke copy task from profile_desktop_host/tasks/nymph.yml. Co-Authored-By: Claude Sonnet 4.6 --- ansible/inventory/host_vars/nymph.yml | 3 +++ ansible/roles/profile_desktop_host/tasks/nymph.yml | 10 ---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/ansible/inventory/host_vars/nymph.yml b/ansible/inventory/host_vars/nymph.yml index 2ba88c0..67d0059 100644 --- a/ansible/inventory/host_vars/nymph.yml +++ b/ansible/inventory/host_vars/nymph.yml @@ -27,3 +27,6 @@ host_i3_dotfiles: - src: .config/autorandr/ dest: .config/autorandr/ mode: preserve + - src: .config/wireplumber/wireplumber.conf.d/60-camera-priority.conf + dest: .config/wireplumber/wireplumber.conf.d/60-camera-priority.conf + mode: "0644" diff --git a/ansible/roles/profile_desktop_host/tasks/nymph.yml b/ansible/roles/profile_desktop_host/tasks/nymph.yml index 21f8921..167c82a 100644 --- a/ansible/roles/profile_desktop_host/tasks/nymph.yml +++ b/ansible/roles/profile_desktop_host/tasks/nymph.yml @@ -39,13 +39,3 @@ regexp: '^bindsym \$mod\+Return exec --no-startup-id /usr/bin/alacritty' line: 'bindsym $mod+Return exec --no-startup-id ~/.local/bin/prime-run /usr/bin/alacritty' when: "'i3' in (desktop_sessions_enabled | default([]))" - -- name: Deploy WirePlumber camera priority config - tags: [dotfiles, dotfiles:host] - ansible.builtin.copy: - src: "{{ playbook_dir }}/../dotfiles/nymph/.config/wireplumber/wireplumber.conf.d/60-camera-priority.conf" - dest: "{{ user_home }}/.config/wireplumber/wireplumber.conf.d/60-camera-priority.conf" - owner: "{{ username }}" - group: "{{ user_group }}" - mode: "0644" - force: true