treewide: remove global with lib

Instead inherit required functions from lib.
This commit is contained in:
Martin Weinelt
2025-06-15 05:08:47 +02:00
parent 1a7f3d718c
commit fb56bcf747
2 changed files with 37 additions and 23 deletions

View File

@@ -21,9 +21,12 @@
...
}:
with lib;
let
inherit (lib)
optionalString
mkIf
;
cfg = config.mailserver;
preexecDefined = cfg.backup.cmdPreexec != null;