nixos-firewall-tool: add nftables support

Co-authored-by: Rvfg <i@rvf6.com>
This commit is contained in:
Gary Guo
2024-07-04 17:30:48 +01:00
committed by Sandro Jäckel
parent 4059698520
commit cabbab19e2
6 changed files with 52 additions and 11 deletions

View File

@@ -297,7 +297,6 @@ in
}
];
environment.systemPackages = [ pkgs.nixos-firewall-tool ];
networking.firewall.checkReversePath = lib.mkIf (!kernelHasRPFilter) (lib.mkDefault false);
systemd.services.firewall = {