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 --- cmd/hpkg/app.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd/hpkg/app.go') diff --git a/cmd/hpkg/app.go b/cmd/hpkg/app.go index 131f839d..4493dad7 100644 --- a/cmd/hpkg/app.go +++ b/cmd/hpkg/app.go @@ -8,7 +8,6 @@ import ( "hakurei.app/container" "hakurei.app/container/seccomp" "hakurei.app/hst" - "hakurei.app/system" "hakurei.app/system/dbus" ) @@ -41,7 +40,7 @@ type appInfo struct { // passed through to [hst.Config] SessionBus *dbus.Config `json:"session_bus,omitempty"` // passed through to [hst.Config] - Enablements system.Enablement `json:"enablements"` + Enablements *hst.Enablements `json:"enablements,omitempty"` // passed through to [hst.Config] Multiarch bool `json:"multiarch,omitempty"` -- cgit v1.3.1