Added caddyfile generation

This commit is contained in:
2025-05-22 08:01:31 +02:00
parent bace54a43d
commit f3bf8d650a
5 changed files with 83 additions and 52 deletions

View File

@@ -3,7 +3,7 @@
with lib;
let
cfg = config.settings.containers.nginx;
cfg = config.settings.containers.network;
in {
options = {
settings.containers.network.enable = lib.mkOption {
@@ -18,6 +18,7 @@ in {
config = mkIf cfg.enable {
services.podman.networks.proxy = {
description = "Container network for the proxy";
driver = "bridge";
autoStart = true;
};
};