Change domain to fqdn and extraDomains to domains
This commit is contained in:
17
default.nix
17
default.nix
@@ -26,26 +26,17 @@ in
|
||||
options.mailserver = {
|
||||
enable = mkEnableOption "nixos-mailserver";
|
||||
|
||||
domain = mkOption {
|
||||
fqdn = mkOption {
|
||||
type = types.str;
|
||||
example = "[ example.com ]";
|
||||
description = "The primary domain that this mail server serves.";
|
||||
description = "The fully qualified domain name of the mail server.";
|
||||
};
|
||||
|
||||
extraDomains = mkOption {
|
||||
domains = mkOption {
|
||||
type = types.listOf types.str;
|
||||
example = "[ example.com ]";
|
||||
default = [];
|
||||
description = "Extra domains that this mail server serves.";
|
||||
};
|
||||
|
||||
hostPrefix = mkOption {
|
||||
type = types.str;
|
||||
default = "mail";
|
||||
description = ''
|
||||
The prefix of the FQDN of the server. In this example the FQDN of the server
|
||||
is given by 'mail.example.com'
|
||||
'';
|
||||
description = "The domains that this mail server serves.";
|
||||
};
|
||||
|
||||
loginAccounts = mkOption {
|
||||
|
||||
Reference in New Issue
Block a user