From 4ffeec3004607b76f73e504da220a1490c598348 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 15 Aug 2025 04:57:37 +0900 Subject: hst/enablement: editor friendly enablement adaptor Having the bit field value here (in decimal, no less) is unfriendly to text editors. Use a bunch of booleans here to improve ease of use. Signed-off-by: Ophestra --- hst/config.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hst/config.go') diff --git a/hst/config.go b/hst/config.go index c34ecb1e..44d36380 100644 --- a/hst/config.go +++ b/hst/config.go @@ -3,7 +3,6 @@ package hst import ( "hakurei.app/container" - "hakurei.app/system" "hakurei.app/system/dbus" ) @@ -24,7 +23,7 @@ type Config struct { Args []string `json:"args"` // system services to make available in the container - Enablements system.Enablement `json:"enablements"` + Enablements *Enablements `json:"enablements,omitempty"` // session D-Bus proxy configuration; // nil makes session bus proxy assume built-in defaults -- cgit v1.3.1