mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-11 15:08:52 +03:00
nixos/networking.firewall: fix refactor regression
This fixes a regression that was introduced in #335631
This commit is contained in:
parent
ba74d07245
commit
94c62f5036
@ -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";
|
||||
}
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user