summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-06-24 03:16:02 +0200
committertv <tv@krebsco.de>2019-06-24 03:16:02 +0200
commitd343910e98736a94431fcac3da21274d2ecec449 (patch)
treeaf7e7a387e3b321fb736f514c41787d0f66e3d80
parent8a48f8dd6802c3239d433d381228e86fc2781e29 (diff)
exim-retiolum module: optionalize rspamd log level
-rw-r--r--krebs/3modules/exim-retiolum.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/krebs/3modules/exim-retiolum.nix b/krebs/3modules/exim-retiolum.nix
index 89a05c8fc..118a8b2d5 100644
--- a/krebs/3modules/exim-retiolum.nix
+++ b/krebs/3modules/exim-retiolum.nix
@@ -35,6 +35,19 @@ in {
default = false;
};
locals = {
+ logging = {
+ level = mkOption {
+ type = types.enum [
+ "error"
+ "warning"
+ "notice"
+ "info"
+ "debug"
+ "silent"
+ ];
+ default = "notice";
+ };
+ };
options = {
local_networks = mkOption {
type = types.listOf types.cidr;