git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/firewall: Add ipset utility
commit2627198b0c047519afa105ba1e335799075128c7 authorWilliam A. Kennington III <william@wkennington.com> dateSun 28 Dec 2014, 00:04 (12 years ago) parentc17fda7
1 file changed+2−2
nixos/modules/services/networking/firewall.nix+2−2
nixos/modules/services/networking/firewall.nix+2−2
@@ -443,7 +443,7 @@ in
443443
444444 networking.firewall.trustedInterfaces = [ "lo" ];
445445
446− environment.systemPackages = [ pkgs.iptables ];
446+ environment.systemPackages = [ pkgs.iptables pkgs.ipset ];
447447
448448 boot.kernelModules = map (x: "nf_conntrack_${x}") cfg.connectionTrackingModules;
449449 boot.extraModprobeConfig = optionalString (!cfg.autoLoadConntrackHelpers) ''
@@ -462,7 +462,7 @@ in
462462 before = [ "network-pre.target" ];
463463 after = [ "systemd-modules-load.service" ];
464464
465− path = [ pkgs.iptables ];
465+ path = [ pkgs.iptables pkg.ipset ];
466466
467467 # FIXME: this module may also try to load kernel modules, but
468468 # containers don't have CAP_SYS_MODULE. So the host system had