aboutsummaryrefslogtreecommitdiffhomepage
path: root/fst
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-25 04:42:30 +0900
committerOphestra <cat@gensokyo.uk>2025-03-25 04:42:30 +0900
commitec5e91b8c97f02707a70a789ba4af84d51394ea5 (patch)
tree45f05e1315063936741ddafde8b5f95338315b54 /fst
parentee51320abfeafabecd42659a88af9dfd44308a3a (diff)
system: optimise string formatting
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'fst')
-rw-r--r--fst/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/fst/config.go b/fst/config.go
index 7fc3af6c..866f7309 100644
--- a/fst/config.go
+++ b/fst/config.go
@@ -48,7 +48,7 @@ type ConfinementConfig struct {
SessionBus *dbus.Config `json:"session_bus,omitempty"`
// system resources to expose to the container
- Enablements system.Enablements `json:"enablements"`
+ Enablements system.Enablement `json:"enablements"`
}
type ExtraPermConfig struct {
@@ -153,7 +153,7 @@ func Template() *Config {
Log: false,
Filter: true,
},
- Enablements: system.EWayland.Mask() | system.EDBus.Mask() | system.EPulse.Mask(),
+ Enablements: system.EWayland | system.EDBus | system.EPulse,
},
}
}