From 61d18372d6029e17fe5f2460041ebc145eddcb0e Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Wed, 22 Apr 2026 23:10:30 -0400 Subject: [PATCH] nixos/systemd/initrd: Remove with lib --- nixos/modules/system/boot/systemd/initrd.nix | 24 ++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix index 9727fe33d23c..a6c7d6f89f85 100644 --- a/nixos/modules/system/boot/systemd/initrd.nix +++ b/nixos/modules/system/boot/systemd/initrd.nix @@ -7,9 +7,29 @@ ... }: -with lib; - let + inherit (lib) + filter + elem + filterAttrs + concatLists + mapAttrsToList + getBin + concatStringsSep + mkEnableOption + mkOption + types + literalExpression + mkIf + any + isBool + isString + optionalAttrs + mapAttrs' + nameValuePair + listToAttrs + ; + inherit (utils) systemdUtils escapeSystemdPath; inherit (systemdUtils.unitOptions) unitOption; inherit (systemdUtils.lib)