aether/modules/options.nix

25 lines
581 B
Nix

{ lib, ... }:
{
options.aether = {
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.
This option is ignored if the service strictly requires HTTPS.
'';
};
acmeEmail = lib.mkOption {
type = lib.types.str;
default = null;
description = "Email address to provide to the ACME service.";
};
};
}