Add support for setting the default sound card on FreeBSD.

This commit is contained in:
Tom Alexander 2022-11-24 13:41:44 -05:00
parent 572067b0cc
commit cf514f4b58
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 13 additions and 0 deletions

View File

@ -40,3 +40,4 @@ jail_zfs_dataset_mountpoint: /jail/main
bhyve_dataset: zroot/freebsd/release/vm
bhyve_list: []
efi_dev: /dev/gpt/EFI
sound_default_unit: 5

View File

@ -146,3 +146,14 @@
group: wheel
loop:
- disk_labels
- name: Configure sysctls
when: sound_default_unit is defined
sysctl:
name: "{{ item.name }}"
value: "{{ item.value }}"
state: present
sysctl_file: "/etc/sysctl.conf.local"
loop:
- name: hw.snd.default_unit
value: "{{ sound_default_unit }}"

View File

@ -24,6 +24,7 @@
- dbus # for desktop notifications
- lumina-fm
- jq
- wev # For debugging input
state: present
- name: Install service configuration