commit 420320e434d2497f2ad71867c8c4be4f6a8795ba
parent 9ecd2b4fb489fe09c4e9683d814010feefc18578
Author: Daniel Barlow <dan@telent.net>
Date: Thu, 27 Mar 2025 18:40:07 +0000
firewall: remove unused args/names/vars
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git 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;