summary refs log tree commit diff
path: root/pkgs/by-name/ni/nixos-firewall-tool/package.nix
blob: 78af5cb8d57156b37a6a372e3e85b164900080c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ writeShellApplication, iptables, lib }:

writeShellApplication {
  name = "nixos-firewall-tool";
  text = builtins.readFile ./nixos-firewall-tool.sh;
  runtimeInputs = [
    iptables
  ];

  meta = with lib; {
    description = "Temporarily manipulate the NixOS firewall";
    license = licenses.mit;
    maintainers = with maintainers; [ clerie ];
  };
}