From 94c62f5036e7744247309cf5a11847e1168ac289 Mon Sep 17 00:00:00 2001 From: azahi Date: Mon, 16 Sep 2024 01:10:55 +0300 Subject: [PATCH] nixos/networking.firewall: fix refactor regression This fixes a regression that was introduced in #335631 --- nixos/modules/services/networking/firewall.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/firewall.nix b/nixos/modules/services/networking/firewall.nix index 5021ef6f502a8..27e17c464ba9c 100644 --- a/nixos/modules/services/networking/firewall.nix +++ b/nixos/modules/services/networking/firewall.nix @@ -186,7 +186,7 @@ in ''; }; - lib.filterForward = lib.mkOption { + filterForward = lib.mkOption { type = lib.types.bool; default = false; description = '' @@ -263,7 +263,7 @@ in assertions = [ { - assertion = cfg.lib.filterForward -> config.networking.nftables.enable; + assertion = cfg.filterForward -> config.networking.nftables.enable; message = "filterForward only works with the nftables based firewall"; } {