nixos/modules/desktop/security/wireshark/default.nix
2024-09-02 13:30:11 +04:00

20 lines
290 B
Nix

{
outputs,
options,
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.desktop.security.wireshark;
in {
options.modules.desktop.security.wireshark = {
enable = lib.mkEnableOption false;
};
config = lib.mkIf cfg.enable {
programs.wireshark.enable = true;
};
}