Unverified Commit eab44e82 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

nixos/networking.firewall: fix refactor regression (#342159)

parents 9ef4e81f 94c62f50
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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";
      }
      {