move acme to server config

This commit is contained in:
Anish Lakhwara 2022-09-23 18:11:14 +10:00
parent 8940b4a276
commit 3b48e30463
2 changed files with 1 additions and 3 deletions

View file

@ -5,7 +5,7 @@
passwordAuthentication = false;
permitRootLogin = "no";
};
networking.firewall.allowedTCPPorts = [ 80 433 22 ]; # ssh and website
networking.firewall.allowedTCPPorts = [ 80 443 22 ]; # ssh and website
security.sudo.wheelNeedsPassword = false; # needed for deploy-rs
security.acme.defaults.email = "anish+acme@lakhwara.com";

View file

@ -2,6 +2,4 @@
{
services."anish.lakhwara.com".enable = true;
services."anish.lakhwara.com".enableSSL = true;
security.acme.email = "anish+acme@lakhwara.com";
security.acme.acceptTerms = true;
}