treewide: remove global with lib
Instead inherit required functions from lib.
This commit is contained in:
parent
1a7f3d718c
commit
fb56bcf747
2 changed files with 37 additions and 23 deletions
|
@ -21,9 +21,12 @@
|
|||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
optionalString
|
||||
mkIf
|
||||
;
|
||||
|
||||
cfg = config.mailserver;
|
||||
|
||||
preexecDefined = cfg.backup.cmdPreexec != null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue