mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 12:54:38 -05:00
feat: added comfyui to caddy
This commit is contained in:
parent
67537dc549
commit
7a35ad834d
1 changed files with 14 additions and 0 deletions
|
@ -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 = [
|
||||
"Z ${service.sops.path0} 755 caddy caddy -"
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue