From 420320e434d2497f2ad71867c8c4be4f6a8795ba Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 27 Mar 2025 18:40:07 +0000 Subject: [PATCH] firewall: remove unused args/names/vars --- modules/firewall/service.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/firewall/service.nix b/modules/firewall/service.nix index 25a76a4..c22e987 100644 --- a/modules/firewall/service.nix +++ b/modules/firewall/service.nix @@ -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;