fix acme on nixos-vps
This commit is contained in:
parent
b549a6683e
commit
ebe0570341
@ -28,9 +28,12 @@ let
|
||||
];
|
||||
cert-fqdn = "matrix.ataraxiadev.com";
|
||||
in {
|
||||
imports = with inputs.self; [ customProfiles.acme ];
|
||||
security.acme.certs = {
|
||||
${cert-fqdn} = {
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
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";
|
||||
extraDomainNames = [
|
||||
"element.ataraxiadev.com"
|
||||
|
Loading…
x
Reference in New Issue
Block a user