Newer
Older
# Define a function which returns a value which fills in all the holes left by
# ``issuer.nix``.
{
# A string giving an email address to use for Let's Encrypt registration and
# certificate issuance.

Tom Prince
committed
letsEncryptAdminEmail
# A list of strings giving the domain names that point at this issuer
# system. These will all be included in Let's Encrypt certificate.
, issuerDomains
# A list of strings giving CORS Origins will the issuer will be configured
# to allow.
, allowedChargeOrigins
, ...

Tom Prince
committed
{
services.private-storage-issuer = {
inherit letsEncryptAdminEmail allowedChargeOrigins;
domains = issuerDomains;
};
system.stateVersion = "19.03";
}