mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
16 lines
358 B
Nix
16 lines
358 B
Nix
{ 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 ];
|
|
};
|
|
}
|