summaryrefslogtreecommitdiffstats
path: root/3modules/lass
diff options
context:
space:
mode:
Diffstat (limited to '3modules/lass')
-rw-r--r--3modules/lass/default.nix8
-rw-r--r--3modules/lass/iptables.nix2
2 files changed, 9 insertions, 1 deletions
diff --git a/3modules/lass/default.nix b/3modules/lass/default.nix
new file mode 100644
index 000000000..d4e231ec7
--- /dev/null
+++ b/3modules/lass/default.nix
@@ -0,0 +1,8 @@
+_:
+
+{
+ imports = [
+ ./xresources.nix
+ ./iptables.nix
+ ];
+}
diff --git a/3modules/lass/iptables.nix b/3modules/lass/iptables.nix
index c97b9f730..8c6ad3fa1 100644
--- a/3modules/lass/iptables.nix
+++ b/3modules/lass/iptables.nix
@@ -106,7 +106,7 @@ let
buildChain = tn: cn:
let
- sortedRules = sort (a: b: a.precedence < b.precedence) ts."${tn}"."${cn}".rules;
+ sortedRules = sort (a: b: a.precedence > b.precedence) ts."${tn}"."${cn}".rules;
in
#TODO: double check should be unneccessary, refactor!