mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-27 07:26:22 +01:00
rename virtualAliases -> extraVirtualAliases
This commit is contained in:
parent
b5f22aff31
commit
76f8c40df6
1 changed files with 16 additions and 1 deletions
17
default.nix
17
default.nix
|
@ -115,8 +115,9 @@ in
|
|||
default = {};
|
||||
};
|
||||
|
||||
virtualAliases = mkOption {
|
||||
extraVirtualAliases = mkOption {
|
||||
type = types.attrsOf (types.enum (builtins.attrNames cfg.loginAccounts));
|
||||
warnings = [ "virtualAliases had been derprecated. Use extraVirtualAliases instead or use the `aliases` field of the loginAccount attribute set"];
|
||||
example = {
|
||||
"info@example.com" = "user1@example.com";
|
||||
"postmaster@example.com" = "user1@example.com";
|
||||
|
@ -133,6 +134,20 @@ in
|
|||
default = {};
|
||||
};
|
||||
|
||||
virtualAliases = mkOption {
|
||||
type = types.attrsOf (types.enum (builtins.attrNames cfg.loginAccounts));
|
||||
warnings = [ "virtualAliases had been derprecated. Use extraVirtualAliases instead or use the `aliases` field of the loginAccount attribute set"];
|
||||
example = {
|
||||
"info@example.com" = "user1@example.com";
|
||||
"postmaster@example.com" = "user1@example.com";
|
||||
"abuse@example.com" = "user1@example.com";
|
||||
};
|
||||
description = ''
|
||||
Alias for extraVirtualAliases.
|
||||
'';
|
||||
default = {};
|
||||
};
|
||||
|
||||
vmailUID = mkOption {
|
||||
type = types.int;
|
||||
default = 5000;
|
||||
|
|
Loading…
Reference in a new issue