Fix builder

This commit is contained in:
soraefir
2026-05-06 23:39:28 +02:00
parent 3caf507905
commit 1f2cc94a0a
3 changed files with 15 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
{ config, lib, serverCfg }:
let builder =
let
builder =
{ image, secret ? ""
, subdomain ? "", ip ? "", port ? 0
, extraEnv ? { }, extraLabels ? { }
@@ -27,4 +28,7 @@ let builder =
] ++ lib.optional (ip != "") "--ip=${ip}";
};
in lib.recursiveUpdate base overrides;
in builder // { host = "host.containers.internal"; }
in {
mkContainer = builder;
host = "host.containers.internal";
}