mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 13:07:13 -06:00
test: setting up opencloud and microvms
This commit is contained in:
parent
589cccbe4d
commit
7b69c77f02
2 changed files with 10 additions and 2 deletions
|
|
@ -181,7 +181,6 @@ in
|
|||
redir /.well-known/carddav /remote.php/dav/ 301
|
||||
redir /.well-known/caldav /remote.php/dav/ 301
|
||||
|
||||
tls ${serviceCfg.ssl.cert} ${serviceCfg.ssl.key}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
{ flake, ... }:
|
||||
{ flake, config, ... }:
|
||||
let
|
||||
inherit (flake.config.services) instances;
|
||||
inherit (flake.config.machines.devices) eris;
|
||||
opencloud = instances.opencloud0;
|
||||
dns = instances.web.dns.provider0;
|
||||
opencloudHost = opencloud.domains.url0;
|
||||
dnsPath = "dns/${dns}";
|
||||
service = instances.caddy;
|
||||
in
|
||||
{
|
||||
|
|
@ -22,6 +25,12 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
security.acme.certs."${opencloudHost}" = {
|
||||
dnsProvider = dns;
|
||||
environmentFile = config.sops.secrets.${dnsPath}.path;
|
||||
group = "caddy";
|
||||
};
|
||||
|
||||
networking = {
|
||||
firewall = {
|
||||
allowedTCPPorts = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue