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
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
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;