qusal/salt/sys-audio/install-client.sls
Ben Grande e00ef4277c
fix: remove unnecessary USB proxy for audio client
Selecting the output and input device in the AudioVM using a GUI audio
manager such as Pavucontrol or Easyeffects to the connected USB device
is enough to make audio work. USB audio devices should not be connected
to audio clients.
2024-07-18 15:50:48 +02:00

43 lines
990 B
Plaintext

{#
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: AGPL-3.0-or-later
#}
{% if grains['nodename'] != 'dom0' -%}
include:
- utils.tools.common.update
"{{ slsdotpath }}-client-installed":
pkg.installed:
- require:
- sls: utils.tools.common.update
- install_recommends: False
- skip_suggestions: True
- pkgs:
- pipewire-qubes
- wireplumber
- rtkit
{% set pkg = {
'Debian': {
'pkg': ['dbus-user-session', 'libpam-systemd', 'pipewire-pulse',
'pipewire-libcamera'],
},
'RedHat': {
'pkg': ['dbus', 'systemd-pam', 'pipewire-pulseaudio',
'pipewire-plugin-libcamera'],
},
}.get(grains.os_family) -%}
"{{ slsdotpath }}-client-installed-os-specific":
pkg.installed:
- require:
- sls: utils.tools.common.update
- install_recommends: False
- skip_suggestions: True
- pkgs: {{ pkg.pkg|sequence|yaml }}
{% endif -%}