Skip to content

Commit

Permalink
nixos/networking.firewall: fix refactor regression (#342159)
Browse files Browse the repository at this point in the history
  • Loading branch information
philiptaron committed Sep 15, 2024
2 parents 9ef4e81 + 94c62f5 commit eab44e8
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 eab44e8

Please sign in to comment.