Avoid top-level with ...; in nixos/lib/systemd-network-units.nix

This commit is contained in:
Philip Taron 2024-03-27 21:43:22 -07:00
parent f290c5901b
commit d509d28475
No known key found for this signature in database

View file

@ -1,8 +1,13 @@
{ lib, systemdUtils }:
with lib;
let
inherit (lib)
concatMapStrings
concatStringsSep
flip
optionalString
;
attrsToSection = systemdUtils.lib.attrsToSection;
commonMatchText = def:
optionalString (def.matchConfig != { }) ''