diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-15 04:57:37 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-15 05:16:51 +0900 |
| commit | 4ffeec3004607b76f73e504da220a1490c598348 (patch) | |
| tree | 68cca16c22814b13974db0f19c151f8eb31e2dae /hst/config.go | |
| parent | 9ed3ba85eaba4bc4bd12b290dc4daf00ffe159dc (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'hst/config.go')
| -rw-r--r-- | hst/config.go | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
