-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: sys-audio policy and autostart pacat daemon
- Loading branch information
1 parent
5f17f7e
commit 3103100
Showing
5 changed files
with
58 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,33 @@ | ||
# SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <[email protected]> | ||
# SPDX-FileCopyrightText: 2023 Yukikoo neowutran <https://neowutran.ovh> | ||
# | ||
# SPDX-License-Identifier: AGPL-3.0-or-later | ||
# | ||
# Credits: https://forum.qubes-os.org/t/audio-qube/20685 | ||
|
||
## Do not modify this file, create a new policy with with a lower number in the | ||
## file name instead. For example `30-user.policy`. | ||
admin.Events * {{ sls_path }} @adminvm allow target=dom0 | ||
admin.Events +domain-stopped {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.Events +domain-shutdown {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.Events +domain-start {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.Events +connection-established {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.Events * sys-audio sys-audio allow target=dom0 | ||
admin.Events * sys-audio @adminvm allow target=dom0 | ||
admin.Events * sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
|
||
admin.vm.CurrentState * sys-audio sys-audio allow target=dom0 | ||
admin.vm.CurrentState * sys-audio @adminvm allow target=dom0 | ||
admin.vm.CurrentState * sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
|
||
admin.vm.List * sys-audio sys-audio allow target=dom0 | ||
admin.vm.List * sys-audio @adminvm allow target=dom0 | ||
admin.vm.List * sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
|
||
admin.vm.CurrentState * {{ sls_path }} @adminvm allow target=dom0 | ||
admin.vm.CurrentState * {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.vm.List * {{ sls_path }} @adminvm allow target=dom0 | ||
admin.vm.List * {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.vm.property.Get +audiovm sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
admin.vm.property.Get +xid sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
admin.vm.property.Get +stubdom_xid sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
|
||
admin.vm.property.Get +audiovm {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.vm.property.Get +xid {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.vm.property.Get +stubdom_xid {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.vm.feature.CheckWithTemplate +audio sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
admin.vm.feature.CheckWithTemplate +audio-model sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
admin.vm.feature.CheckWithTemplate +supported-service.pipewire sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
admin.vm.feature.CheckWithTemplate +audio-low-latency sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
|
||
admin.vm.feature.CheckWithTemplate +audio {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.vm.feature.CheckWithTemplate +audio-model {{ sls_path }} @tag:audiovm-{{ sls_path }} allow target=dom0 | ||
admin.vm.property.GetAll * sys-audio sys-audio allow target=dom0 | ||
admin.vm.property.GetAll * sys-audio @tag:audiovm-sys-audio allow target=dom0 | ||
## vim:ft=qrexecpolicy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <[email protected]> | ||
# | ||
# SPDX-License-Identifier: AGPL-3.0-or-later | ||
|
||
[Desktop Entry] | ||
Name=Qubes Guid/Pacat | ||
Exec=qvm-start-daemon --all --watch | ||
Icon=qubes | ||
Terminal=false | ||
X-MultipleArgs=False | ||
Type=Application | ||
Keywords=audio; | ||
Categories=Audio; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters