Add alias options
This commit is contained in:
parent
8b2845a1b2
commit
c987d118fd
@ -41,6 +41,22 @@ in {
|
|||||||
default = [ ];
|
default = [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
aliases = {
|
||||||
|
user-aliases = mkOption {
|
||||||
|
type = attrsOf (listOf str);
|
||||||
|
description =
|
||||||
|
"Map of username to list of aliases mapping to that user.";
|
||||||
|
default = { };
|
||||||
|
};
|
||||||
|
|
||||||
|
alias-users = mkOption {
|
||||||
|
type = attrsOf (listOf str);
|
||||||
|
description =
|
||||||
|
"Map of alias user to list of users who should receive email..";
|
||||||
|
default = { };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
metrics-port = mkOption {
|
metrics-port = mkOption {
|
||||||
type = port;
|
type = port;
|
||||||
description = "Port on which to serve metrics.";
|
description = "Port on which to serve metrics.";
|
||||||
@ -248,8 +264,8 @@ in {
|
|||||||
dns = cfg.blacklist.dns;
|
dns = cfg.blacklist.dns;
|
||||||
};
|
};
|
||||||
aliases = {
|
aliases = {
|
||||||
user-aliases = cfg.user-aliases;
|
user-aliases = cfg.aliases.user-aliases;
|
||||||
alias-users = cfg.alias-users;
|
alias-users = cfg.aliases.alias-users;
|
||||||
};
|
};
|
||||||
ssl = {
|
ssl = {
|
||||||
certificate =
|
certificate =
|
||||||
|
Loading…
Reference in New Issue
Block a user