[wireshark] Add module

This commit is contained in:
Tibo De Peuter 2025-12-04 10:30:43 +01:00
parent 0b2685f9c0
commit 23a19015af
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
3 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ config, lib, pkgs, ... }:
let
cfg = config.sisyphus.programs.wireshark;
in {
options.sisyphus.programs.wireshark.enable = lib.mkEnableOption "Wireshark";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
wireshark
];
programs.wireshark = {
enable = true;
dumpcap.enable = true;
usbmon.enable = false;
};
sisyphus.users.wantedGroups = [
"wireshark"
];
};
}