dotfiles/modules/os/misc/wireshark.nix
eriedaberrie f4565688f6 Initial commit
Note: not the actual initial commit.

I swear I will stop repeatedly force pushing to this single commit eventually
ok.
2024-09-25 09:49:53 -07:00

19 lines
343 B
Nix

{ pkgs, config, lib, ... }:
let
cfg = config.my.wireshark;
in {
options.my.wireshark = {
enable = lib.mkEnableOption null;
};
config = lib.mkIf cfg.enable {
programs.wireshark = {
enable = true;
package = lib.mkIf config.my.desktop.enable pkgs.wireshark;
};
my.user.extraGroups = [ "wireshark" ];
};
}