dotfiles/common/programs/wireshark.nix

29 lines
412 B
Nix
Raw Normal View History

2024-10-02 16:36:52 -04:00
{ NAME }: { ... }: {
programs = {
wireshark = {
enable = true;
};
};
2024-10-28 19:57:27 -04:00
boot = {
kernelModules = [
"usbmon"
];
};
services = {
udev = {
extraRules = ''
SUBSYSTEM=="usbmon", GROUP="wireshark", MODE="640"
'';
};
};
2024-10-02 16:36:52 -04:00
users = {
users = {
"${NAME}" = {
extraGroups = [
"wireshark"
];
};
};
};
}