nixos/rspamd: add extraConfig parameter (#33226)
This commit is contained in:
parent
69865f5ce2
commit
70a085b62f
@ -31,6 +31,8 @@ let
|
|||||||
${mkBindSockets cfg.bindUISocket}
|
${mkBindSockets cfg.bindUISocket}
|
||||||
.include "$CONFDIR/worker-controller.inc"
|
.include "$CONFDIR/worker-controller.inc"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
${cfg.extraConfig}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in
|
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 {
|
user = mkOption {
|
||||||
type = types.string;
|
type = types.string;
|
||||||
default = "rspamd";
|
default = "rspamd";
|
||||||
|
Loading…
Reference in New Issue
Block a user