Make the repository available on your machine and include the category you want in /etc/nixos/configuration.nix
.
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
./port-scanners.nix
];
[...]
Or cherry-pick the tools you want and create a new shell. E.g., portscan.nix
:
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell {
nativeBuildInputs = [
nmap
masscan
];
}
$ nix-shell portscan.nix