Fix secret permission

This commit is contained in:
Invariantspace 2024-09-01 00:25:35 -07:00
parent b08a27c475
commit 1d39967f91
No known key found for this signature in database
GPG key ID: EBC4A20067373921
3 changed files with 13 additions and 12 deletions

View file

@ -7,6 +7,7 @@ with config.constants; {
services.caddy = {
enable = true;
email = postMaster;
user = userName;
virtualHosts = let
acme = fqdns:
builtins.listToAttrs (map (fqdn: {
@ -21,10 +22,10 @@ with config.constants; {
};
})
fqdns);
portStr = builtins.mapAttrs (n: v: toString v) port;
homeSrv = s: "nebula:${portStr.${s}}";
localSrv = s: "${localhost}:${portStr.${s}}";
mtfqdn = "matrix.${domain}";
portStr = builtins.mapAttrs (n: v: toString v) port;
wn = s: "/.well-known/${s}";
in
{