mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 02:09:26 +08:00
@@ -27,7 +27,6 @@ inputs:
|
||||
email = "chn@chn.moe";
|
||||
dnsProvider = "cloudflare";
|
||||
dnsResolver = "1.1.1.1";
|
||||
dnsPropagationCheck = false;
|
||||
};
|
||||
certs = builtins.listToAttrs (builtins.map
|
||||
(cert:
|
||||
@@ -35,7 +34,7 @@ inputs:
|
||||
name = builtins.elemAt cert.value.domains 0;
|
||||
value =
|
||||
{
|
||||
environmentFile = inputs.config.nixos.system.sops.templates."acme/cloudflare.ini".path;
|
||||
credentialsFile = inputs.config.nixos.system.sops.templates."acme/cloudflare.ini".path;
|
||||
extraDomainNames = builtins.tail cert.value.domains;
|
||||
group = inputs.lib.mkIf (cert.value.group != null) cert.value.group;
|
||||
};
|
||||
@@ -48,7 +47,6 @@ inputs:
|
||||
''
|
||||
CLOUDFLARE_DNS_API_TOKEN=${inputs.config.nixos.system.sops.placeholder."acme/token"}
|
||||
CLOUDFLARE_PROPAGATION_TIMEOUT=300
|
||||
LEGO_DISABLE_CNAME_SUPPORT=true
|
||||
'';
|
||||
secrets."acme/token" = {};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user