Files
nixos-config/modules/wireshark.nix
Damian Wessels 1c60d751da first commit
2025-09-15 22:39:41 +02:00

14 lines
316 B
Nix

{ pkgs, ... }:
{
users.groups.wireshark = { };
security.wrappers.dumpcap = {
source = "${pkgs.wireshark}/bin/dumpcap";
permissions = "u+xs,g+x";
owner = "root";
group = "wireshark";
};
users.users.dwessels.extraGroups = [ "wireshark" ];
environment.systemPackages = [ pkgs.wireshark ];
}