2024-11-20 00:58:57 -05:00
|
|
|
{ lib, ... }:
|
|
|
|
{
|
|
|
|
domain = lib.mkOption {
|
|
|
|
type = lib.types.str;
|
|
|
|
description = "The domain name the server is hosted on.";
|
|
|
|
};
|
|
|
|
|
|
|
|
https = lib.mkOption {
|
|
|
|
type = lib.types.boolByOr;
|
|
|
|
default = true;
|
|
|
|
description = "Whether to force HTTPS connections for websites.";
|
|
|
|
};
|
|
|
|
|
|
|
|
acmeEmail = lib.mkOption {
|
2024-11-20 02:23:49 -05:00
|
|
|
type = lib.types.nullOr lib.types.str;
|
|
|
|
default = null;
|
2024-11-20 00:58:57 -05:00
|
|
|
description = "Email address for ACME.";
|
|
|
|
};
|
|
|
|
}
|