wireshark: Init module

This commit is contained in:
SebastianStork 2025-10-15 16:26:38 +02:00
parent 68ab698f55
commit bb00a01802

View file

@ -0,0 +1,15 @@
{
config,
pkgs,
lib,
...
}:
{
options.custom.programs.wireshark.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.programs.wireshark.enable {
programs.wireshark.enable = true;
environment.systemPackages = [ pkgs.wireshark ];
users.users.seb.extraGroups = [ "wireshark" ];
};
}