nix-config/modules/nix/networking/wireshark.nix
smayzy 6624ebeff3
All checks were successful
nixos config pipeline / show-flake (push) Successful in 34s
nixos config pipeline / deploy (push) Successful in 26s
move wireshark to mudule and correct permitions
2025-08-14 12:09:44 +02:00

17 lines
355 B
Nix

{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.wireshark.enable = mkOption {
type = types.bool;
default = false;
description = "wireshark";
};
config = mkIf config.smayzy.wireshark.enable {
programs.wireshark.enable = true;
environment.systemPackages = with pkgs; [ wireshark ];
};
}