This commit is contained in:
mjallen18
2025-09-09 21:43:09 -05:00
parent fc4096d5d9
commit efbbfde6f5
8 changed files with 113 additions and 153 deletions

View File

@@ -102,13 +102,16 @@ let
bindMounts = bindMounts;
config = actualConfig;
}) { inherit lib; };
in
{
imports = [ ./options.nix ];
config = mkIf cfg.enable {
fullConfig = {
${namespace}.services.traefik = lib.mkIf cfg.reverseProxy.enable {
reverseProxies = [ reverseProxyConfig ];
};
} // actualContainer;
in
{
imports = [ ./options.nix ];
config = mkIf cfg.enable fullConfig;
}