diff options
author | Robin Raymond <robin@robinraymond.de> | 2018-02-23 16:48:13 +0100 |
---|---|---|
committer | Robin Raymond <robin@robinraymond.de> | 2018-02-23 16:48:13 +0100 |
commit | c1c470651970dbea1efd419722b7248cec9edd14 (patch) | |
tree | 5767e1dddcbb969187f372b1645af21bb1438e7a /default.nix | |
parent | 0cdd1bd4e116f0ae86e6e5b7f8545c1b2ae6a5fb (diff) |
remove deprecated virtualAliases
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/default.nix b/default.nix index 168bbaf..579624a 100644 --- a/default.nix +++ b/default.nix @@ -152,19 +152,6 @@ in default = {}; }; - virtualAliases = mkOption { - type = types.attrsOf (types.enum (builtins.attrNames cfg.loginAccounts)); - example = { - "info@example.com" = "user1@example.com"; - "postmaster@example.com" = "user1@example.com"; - "abuse@example.com" = "user1@example.com"; - }; - description = '' - Alias for extraVirtualAliases. Deprecated. - ''; - default = {}; - }; - vmailUID = mkOption { type = types.int; default = 5000; @@ -555,12 +542,4 @@ in ./mail-server/nginx.nix ./mail-server/kresd.nix ]; - - config = lib.mkIf config.mailserver.enable { - warnings = if (config.mailserver.virtualAliases != {}) then [ '' - virtualAliases had been derprecated. Use extraVirtualAliases instead or - use the `aliases` field of the loginAccount attribute set - ''] - else []; - }; } |