aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/config.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-07 19:01:18 +0900
committerOphestra <cat@gensokyo.uk>2025-10-07 19:03:51 +0900
commitd23b4dc9e64d3f00e746c65f3038a1a6de44b8f5 (patch)
tree46e7f73bc2b06047561588294759ddb8a71184f2 /hst/config.go
parent3ce63e95d7691450f7b368e639d984a223a764b1 (diff)
hst/dbus: move dbus config struct
This allows holding a xdg-dbus-proxy configuration without importing system/dbus. It also makes more sense in the project structure since the config struct is part of the hst API however the rest of the implementation is not. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/config.go')
-rw-r--r--hst/config.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/hst/config.go b/hst/config.go
index 4629d3db..e661d2d3 100644
--- a/hst/config.go
+++ b/hst/config.go
@@ -6,7 +6,6 @@ import (
"time"
"hakurei.app/container"
- "hakurei.app/system/dbus"
)
const Tmp = "/.hakurei"
@@ -42,10 +41,10 @@ type (
// Session D-Bus proxy configuration.
// If set to nil, session bus proxy assume built-in defaults.
- SessionBus *dbus.Config `json:"session_bus,omitempty"`
+ SessionBus *BusConfig `json:"session_bus,omitempty"`
// System D-Bus proxy configuration.
// If set to nil, system bus proxy is disabled.
- SystemBus *dbus.Config `json:"system_bus,omitempty"`
+ SystemBus *BusConfig `json:"system_bus,omitempty"`
// Direct access to wayland socket, no attempt is made to attach security-context-v1
// and the bare socket is made available to the container.
DirectWayland bool `json:"direct_wayland,omitempty"`