summaryrefslogtreecommitdiff
path: root/nixos/modules/features/wireshark/default.nix
blob: afebd393cd532a2d47370b26600fbdaaa86af510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ pkgs, ... }:

{
  # Wireshark: packet capture/analysis. The `wireshark` group grants non-root
  # capture permissions to the user (programs.wireshark sets up dumpcap).
  programs.wireshark = {
    enable = true;
    package = pkgs.wireshark;
  };

  users.users.seraphim = {
    extraGroups = [ "wireshark" ];
  };
}