nix-config/shells/network/flake.nix

36 lines
913 B
Nix
Raw Permalink Normal View History

2023-09-28 15:28:32 +00:00
{
description = "Nix shell for network tools";
inputs = {
2024-06-06 15:17:28 +00:00
nixpkgs.url = "github:NixOS/nixpkgs/release-24.05";
2023-09-28 15:28:32 +00:00
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
2023-10-16 18:46:06 +00:00
{ nixpkgs
2023-09-28 15:28:32 +00:00
, flake-utils
}:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
bmon # Modern Unix `iftop`
curlie # Terminal HTTP client
dogdns # Modern Unix `dig`
fast-cli # Terminal fast.com speedtest
httpie # Terminal HTTP client
iperf3 # Terminal network benchmarking
mtr # Modern Unix `traceroute`
netdiscover # Modern Unix `arp`
nethogs # Modern Unix `iftop`
ookla-speedtest # Terminal speedtest
wavemon # Terminal WiFi monitor
];
};
});
}