Set mailserver.policydSPFExtraConfig in a debug module
The line type of this option make its concatenation cleaner: the user doesn't have to manually add `\n` to its policydSPFExtraConfig value when debug in set.
This commit is contained in:
parent
ae89eafb81
commit
ee3d38a157
3 changed files with 6 additions and 5 deletions
4
mail-server/debug.nix
Normal file
4
mail-server/debug.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
mailserver.policydSPFExtraConfig = lib.mkIf config.mailserver.debug "debugLevel = 4";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue