rename virtualAliases -> extraVirtualAliases
This commit is contained in:
parent
b5f22aff31
commit
76f8c40df6
17
default.nix
17
default.nix
|
@ -115,8 +115,9 @@ in
|
||||||
default = {};
|
default = {};
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualAliases = mkOption {
|
extraVirtualAliases = mkOption {
|
||||||
type = types.attrsOf (types.enum (builtins.attrNames cfg.loginAccounts));
|
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 = {
|
example = {
|
||||||
"info@example.com" = "user1@example.com";
|
"info@example.com" = "user1@example.com";
|
||||||
"postmaster@example.com" = "user1@example.com";
|
"postmaster@example.com" = "user1@example.com";
|
||||||
|
@ -133,6 +134,20 @@ in
|
||||||
default = {};
|
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 {
|
vmailUID = mkOption {
|
||||||
type = types.int;
|
type = types.int;
|
||||||
default = 5000;
|
default = 5000;
|
||||||
|
|
Loading…
Reference in New Issue