Change domain to fqdn and extraDomains to domains
This commit is contained in:
parent
a745abaa8e
commit
16fb41de01
11 changed files with 51 additions and 78 deletions
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue