20 lines
413 B
Nix
20 lines
413 B
Nix
|
{ 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 {
|
||
|
type = lib.types.str;
|
||
|
default = "";
|
||
|
description = "Email address for ACME.";
|
||
|
};
|
||
|
}
|