Fix builder
This commit is contained in:
@@ -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";
|
||||
}
|
||||
Reference in New Issue
Block a user