mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
feat: optional state to autostart AudioVM
Not the default because it is unnecessary to autostart AudioVM as audio is not necessary for everyone on every boot. Fixes: https://github.com/ben-grande/qusal/issues/39
This commit is contained in:
parent
cf88ad1ed4
commit
fcc155f5c7
@ -41,6 +41,11 @@ sudo qubesctl --skip-dom0 --targets=dvm-sys-audio state.apply sys-audio.configur
|
||||
```
|
||||
<!-- pkg:end:post-install -->
|
||||
|
||||
If you want to autostart the AudioVM on boot, you may run:
|
||||
```sh
|
||||
sudo qubesctl state.apply sys-audio.autostart
|
||||
```
|
||||
|
||||
If you need Bluetooth support, install the dependencies:
|
||||
```sh
|
||||
sudo qubesctl --skip-dom0 --targets=tpl-sys-audio state.apply sys-audio.install-bluetooth
|
||||
|
11
salt/sys-audio/autostart.sls
Normal file
11
salt/sys-audio/autostart.sls
Normal file
@ -0,0 +1,11 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
"{{ slsdotpath }}-autostart-audiovm":
|
||||
qvm.vm:
|
||||
- name: disp-{{ slsdotpath }}
|
||||
- prefs:
|
||||
- autostart: True
|
10
salt/sys-audio/autostart.top
Normal file
10
salt/sys-audio/autostart.top
Normal file
@ -0,0 +1,10 @@
|
||||
{#
|
||||
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
#}
|
||||
|
||||
base:
|
||||
'dom0':
|
||||
- match: nodegroup
|
||||
- sys-audio.autostart
|
Loading…
Reference in New Issue
Block a user