1
0
forked from rosa/hakurei

cmd/app: configure username and hostname

These no longer need to be hardcoded since this is not subject to the limitations of home-manager.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-06-20 22:15:49 +09:00
parent 4e09241e5f
commit 9db70c83e3
+8
View File
@@ -172,6 +172,14 @@ func parse(id string, base *check.Absolute, r io.Reader) (*hst.Config, error) {
} }
switch key { switch key {
case "username":
c.Container.Username = value
continue
case "hostname":
c.Container.Hostname = value
continue
case "group": case "group":
c.Groups = append(c.Groups, value) c.Groups = append(c.Groups, value)
continue continue