fix acme on nixos-vps
This commit is contained in:
parent
b549a6683e
commit
ebe0570341
@ -28,9 +28,12 @@ let
|
|||||||
];
|
];
|
||||||
cert-fqdn = "matrix.ataraxiadev.com";
|
cert-fqdn = "matrix.ataraxiadev.com";
|
||||||
in {
|
in {
|
||||||
imports = with inputs.self; [ customProfiles.acme ];
|
security.acme = {
|
||||||
security.acme.certs = {
|
acceptTerms = true;
|
||||||
${cert-fqdn} = {
|
defaults.server = "https://acme-v02.api.letsencrypt.org/directory";
|
||||||
|
defaults.email = "admin@ataraxiadev.com";
|
||||||
|
defaults.renewInterval = "weekly";
|
||||||
|
certs.${cert-fqdn} = {
|
||||||
webroot = "/var/lib/acme/acme-challenge";
|
webroot = "/var/lib/acme/acme-challenge";
|
||||||
extraDomainNames = [
|
extraDomainNames = [
|
||||||
"element.ataraxiadev.com"
|
"element.ataraxiadev.com"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user