1
0

firewall: remove unused args/names/vars

This commit is contained in:
Daniel Barlow 2025-03-27 18:40:07 +00:00
parent 9ecd2b4fb4
commit 420320e434

View File

@ -3,13 +3,9 @@
lib,
firewallgen,
nftables,
writeFennel,
anoia,
svc,
lua,
output-template,
lualinux,
linotify,
}:
{
rules,
@ -20,7 +16,6 @@ let
inherit (liminix.services) longrun;
inherit (lib.attrsets) mapAttrs' nameValuePair mapAttrsToList;
inherit (lib.strings) concatStringsSep;
inherit (lib.lists) flatten;
inherit (builtins) concatLists toJSON attrValues;
inherit (liminix) outputRef;
mkSet =
@ -76,7 +71,6 @@ let
extraRules
(lib.recursiveUpdate sets rules));
script = firewallgen "firewall1.nft" allRules;
watchArg = z: intfs: map (i: "${z}:${i}") intfs;
name = "firewall";
service = longrun {
inherit name;