2023-12-31 01:48:29 -05:00
|
|
|
{#
|
2024-01-29 10:49:54 -05:00
|
|
|
SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
2023-12-31 01:48:29 -05:00
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
#}
|
|
|
|
|
|
|
|
{% if grains['nodename'] != 'dom0' -%}
|
|
|
|
|
2024-01-17 09:11:23 -05:00
|
|
|
include:
|
2024-03-18 11:29:01 -04:00
|
|
|
- utils.tools.common.update
|
2024-06-04 13:59:45 -04:00
|
|
|
## TODO: video-companion covers camera, what about external USB speakers/mic?
|
|
|
|
## qubes-usb-proxy: external USB microphone and speakers
|
2024-01-17 09:11:23 -05:00
|
|
|
- sys-usb.install-client-proxy
|
|
|
|
|
2023-12-31 01:48:29 -05:00
|
|
|
"{{ slsdotpath }}-client-installed":
|
|
|
|
pkg.installed:
|
2024-03-18 11:29:01 -04:00
|
|
|
- require:
|
|
|
|
- sls: utils.tools.common.update
|
2023-12-31 01:48:29 -05:00
|
|
|
- install_recommends: False
|
|
|
|
- skip_suggestions: True
|
|
|
|
- pkgs:
|
|
|
|
- pipewire-qubes
|
|
|
|
- wireplumber
|
|
|
|
- rtkit
|
|
|
|
|
|
|
|
{% set pkg = {
|
|
|
|
'Debian': {
|
2024-06-28 08:12:17 -04:00
|
|
|
'pkg': ['dbus-user-session', 'libpam-systemd', 'pipewire-pulse',
|
|
|
|
'pipewire-libcamera'],
|
2023-12-31 01:48:29 -05:00
|
|
|
},
|
|
|
|
'RedHat': {
|
2024-06-28 08:12:17 -04:00
|
|
|
'pkg': ['dbus', 'systemd-pam', 'pipewire-pulseaudio',
|
|
|
|
'pipewire-plugin-libcamera'],
|
2023-12-31 01:48:29 -05:00
|
|
|
},
|
|
|
|
}.get(grains.os_family) -%}
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-client-installed-os-specific":
|
|
|
|
pkg.installed:
|
2024-03-18 11:29:01 -04:00
|
|
|
- require:
|
|
|
|
- sls: utils.tools.common.update
|
2023-12-31 01:48:29 -05:00
|
|
|
- install_recommends: False
|
|
|
|
- skip_suggestions: True
|
|
|
|
- pkgs: {{ pkg.pkg|sequence|yaml }}
|
|
|
|
|
|
|
|
{% endif -%}
|