MyNixOS website logo

Attribute set of certificates to get signed and renewed. Creates acme-${cert}.{service,timer} systemd units for each certificate defined here. Other services can add dependencies to those units if they rely on the certificates being present, or trigger restarts of the service if certificates get renewed.

Declarations
Type
attribute set of (submodule)
Default
{ }
Example
{
  "example.com" = {
    webroot = "/var/lib/acme/acme-challenge/";
    email = "[email protected]";
    extraDomainNames = [ "www.example.com" "foo.example.com" ];
  };
  "bar.example.com" = {
    webroot = "/var/lib/acme/acme-challenge/";
    email = "[email protected]";
  };
}