nixos/prometheus-exporters/mail: lib.filterAttrs -> lib.removeAttrs

This commit is contained in:
h7x4
2025-10-26 15:21:23 +09:00
parent 71644ede59
commit dbe03e152c
@@ -15,6 +15,7 @@ let
nameValuePair
toLower
filterAttrs
removeAttrs
escapeShellArg
literalExpression
mkIf
@@ -41,7 +42,7 @@ let
)
else
nameValuePair (toLower name) value
) (filterAttrs (n: _: !(n == "_module")) cfg.configuration)
) (removeAttrs cfg.configuration [ "_module" ])
)
);