16 lines
311 B
Nix
16 lines
311 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# Installs wireshark, creates the `wireshark` group, and sets a setcap
|
|
# wrapper on dumpcap so group members can capture without root.
|
|
programs.wireshark = {
|
|
enable = true;
|
|
dumpcap.enable = true;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
tcpdump
|
|
termshark
|
|
];
|
|
}
|