mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-26 07:59:37 -05:00
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
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
|
|
## TODO: video-companion covers camera, what about external USB speakers/mic?
|
|
## qubes-usb-proxy: external USB microphone and speakers
|
|
- sys-usb.install-client-proxy
|
|
|
|
"{{ 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 -%}
|