move acme to server config
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
permitRootLogin = "no";
|
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.sudo.wheelNeedsPassword = false; # needed for deploy-rs
|
||||||
|
|
||||||
security.acme.defaults.email = "anish+acme@lakhwara.com";
|
security.acme.defaults.email = "anish+acme@lakhwara.com";
|
||||||
|
|||||||
@@ -2,6 +2,4 @@
|
|||||||
{
|
{
|
||||||
services."anish.lakhwara.com".enable = true;
|
services."anish.lakhwara.com".enable = true;
|
||||||
services."anish.lakhwara.com".enableSSL = true;
|
services."anish.lakhwara.com".enableSSL = true;
|
||||||
security.acme.email = "anish+acme@lakhwara.com";
|
|
||||||
security.acme.acceptTerms = true;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user