aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/app/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/app/app.go')
-rw-r--r--cmd/app/app.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd/app/app.go b/cmd/app/app.go
index 59bc93ae..4e4f314d 100644
--- a/cmd/app/app.go
+++ b/cmd/app/app.go
@@ -207,6 +207,17 @@ func parse(
c.SchedPriority = ext.Int(v)
continue
+ case "insecure":
+ switch value {
+ case "pipewire":
+ *c.Enablements |= hst.EPipeWire
+ c.DirectPipeWire = true
+ continue
+
+ default:
+ return nil, fmt.Errorf("invalid insecure flag %q", value)
+ }
+
case "env":
if key, value, ok = strings.Cut(value, "="); !ok {
return nil, fmt.Errorf("invalid environment %q", key)