add acme registration to server config
This commit is contained in:
parent
7cf685a1f2
commit
ada5e5ad6a
|
@ -7,4 +7,7 @@
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [ 80 433 22 ]; # ssh and website
|
networking.firewall.allowedTCPPorts = [ 80 433 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.acceptTerms = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ self, pkgs, ... }:
|
{ self, pkgs, ... }:
|
||||||
{
|
{
|
||||||
services."anish.lakhwara.com".enable = true;
|
services."anish.lakhwara.com".enable = true;
|
||||||
|
services."anish.lakhwara.com".enableSSL = true;
|
||||||
security.acme.email = "anish+acme@lakhwara.com";
|
security.acme.email = "anish+acme@lakhwara.com";
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue