mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-08 21:04:38 -05:00
feat: opencloud test
This commit is contained in:
parent
60b1d395d4
commit
9fc9a411d8
2 changed files with 7 additions and 6 deletions
|
@ -14,7 +14,7 @@ in
|
|||
port = service.ports.port0;
|
||||
address = localhost;
|
||||
stateDir = "/var/lib/${service.name}";
|
||||
environmentFile = config.sops.secrets."${service.name}-pass".path;
|
||||
environmentFile = config.sops.secrets."${service.name}/env".path;
|
||||
};
|
||||
caddy = {
|
||||
virtualHosts = {
|
||||
|
@ -44,11 +44,11 @@ in
|
|||
secrets = builtins.listToAttrs (
|
||||
map
|
||||
(secret: {
|
||||
name = "${service.name}-${secret}";
|
||||
name = "${service.name}/${secret}";
|
||||
value = sopsPath secret;
|
||||
})
|
||||
[
|
||||
"pass"
|
||||
"env"
|
||||
]
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue