Skip to content

Commit

Permalink
nixos/networking.firewall: fix refactor regression
Browse files Browse the repository at this point in the history
This fixes a regression that was introduced in NixOS#335631

(cherry picked from commit 94c62f5)
  • Loading branch information
azahi authored and msfjarvis committed Sep 16, 2024
1 parent 7d99eb3 commit 2bcddc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos/modules/services/networking/firewall.nix
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ in
'';
};

lib.filterForward = lib.mkOption {
filterForward = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Expand Down Expand Up @@ -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";
}
{
Expand Down

0 comments on commit 2bcddc3

Please sign in to comment.