aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-06-20 22:15:49 +0900
committerOphestra <cat@gensokyo.uk>2026-06-20 22:15:49 +0900
commit9db70c83e3edf5bc65aaf09e4024b44efd3cae52 (patch)
treeaa4bf27dd2bddd2d7c40ac5827f08fa819883215
parent4e09241e5f55ad71d530e1394c37cfe1d46c599e (diff)
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>
-rw-r--r--cmd/app/app.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/app/app.go b/cmd/app/app.go
index 6340ed90..d702215e 100644
--- a/cmd/app/app.go
+++ b/cmd/app/app.go
@@ -172,6 +172,14 @@ func parse(id string, base *check.Absolute, r io.Reader) (*hst.Config, error) {
}
switch key {
+ case "username":
+ c.Container.Username = value
+ continue
+
+ case "hostname":
+ c.Container.Hostname = value
+ continue
+
case "group":
c.Groups = append(c.Groups, value)
continue