nixos/rspamd: add extraConfig parameter (#33226)

This commit is contained in:
Léo Gaspard 2017-12-31 16:11:15 +01:00 committed by Joachim F
parent 69865f5ce2
commit 70a085b62f

View file

@ -31,6 +31,8 @@ let
${mkBindSockets cfg.bindUISocket}
.include "$CONFDIR/worker-controller.inc"
}
${cfg.extraConfig}
'';
in
@ -79,6 +81,15 @@ in
'';
};
extraConfig = mkOption {
type = types.lines;
default = "";
description = ''
Extra configuration to add at the end of the rspamd configuration
file.
'';
};
user = mkOption {
type = types.string;
default = "rspamd";