qusal/salt/sys-audio/install-bluetooth.sls
Ben Grande 9320c3fcf3
feat: disable OBEX Bluetooth file transfer method
No documentation as there is no intention to ever have file transfer
support in the AudioVM.
2024-07-02 10:10:50 +02:00

36 lines
781 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
- .install
- sys-usb.install-client-proxy
"{{ slsdotpath }}-bluetooth-installed":
pkg.installed:
- require:
- sls: utils.tools.common.update
- install_recommends: False
- skip_suggestions: True
- pkgs:
- blueman
- libspa-0.2-bluetooth
- firmware-iwlwifi
"{{ slsdotpath }}-user-systemd":
file.recurse:
- name: /usr/lib/systemd/user/
- source: salt://{{ slsdotpath }}/files/server/systemd-user/
- dir_mode: '0755'
- file_mode: '0644'
- user: root
- group: root
- makedirs: True
{% endif -%}