0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/services.opensnitch: fmt

This commit is contained in:
Felix Buehler 2024-12-29 22:24:12 +01:00
parent a8d331716c
commit 9db6d6f090

View file

@ -223,7 +223,9 @@ in
# `cfg.rules`).
find ${cfg.settings.Rules.Path} -type l -lname '${builtins.storeDir}/*' ${
lib.optionalString (rules != { }) ''
-not \( ${lib.concatMapStringsSep " -o " ({ local, ... }: "-name '${baseNameOf local}*'") rules} \) \
-not \( ${
lib.concatMapStringsSep " -o " ({ local, ... }: "-name '${baseNameOf local}*'") rules
} \) \
''
} -delete
${lib.concatMapStrings (