This commit is contained in:
2024-12-27 17:42:47 +02:00
parent e6e345645b
commit e8e39564d3

View File

@@ -22,18 +22,18 @@
};
};
# security.acme = {
# acceptTerms = true;
# defaults.email = "kyren223@proton.me";
# certs."kyren.codes" = {
# # extraDomainNames = [ "*.kyren.codes" ];
# dnsProvider = "namecheap";
# environmentFile = "${pkgs.writeText "namecheap-creds" ''
# NAMECHEAP_API_USER_FILE=/run/secrets/namecheap-api-user
# NAMECHEAP_API_KEY_FILE=/root/namecheap-api-key
# ''}";
# };
# };
security.acme = {
acceptTerms = true;
defaults.email = "kyren223@proton.me";
certs."kyren.codes" = {
# extraDomainNames = [ "*.kyren.codes" ];
dnsProvider = "namecheap";
environmentFile = "${pkgs.writeText "namecheap-creds" ''
NAMECHEAP_API_USER_FILE=/run/secrets/namecheap-api-user
NAMECHEAP_API_KEY_FILE=/root/namecheap-api-key
''}";
};
};
networking.firewall.allowedTCPPorts = [ 80 ];
}