feat: added comfyui to caddy

This commit is contained in:
Nick 2025-07-27 17:53:36 -05:00
parent 67537dc549
commit 7a35ad834d

View file

@ -54,6 +54,20 @@ in
}; };
}; };
sops =
let
sopsPath = secret: {
path = "${service.sops.path0}/${service.name}-${secret}.env";
owner = "caddy";
mode = "0400";
};
in
{
secrets = {
"caddy/${service.name}-auth" = sopsPath "auth";
};
};
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"Z ${service.sops.path0} 755 caddy caddy -" "Z ${service.sops.path0} 755 caddy caddy -"
]; ];