ooknet/system/modules/programs/wireshark/default.nix
2024-04-29 18:53:14 +12:00

14 lines
295 B
Nix

{ lib, config, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.systemModules.programs.wireshark;
in
{
options.systemModules.programs.wireshark.enable = mkEnableOption "Enable wireshark system module";
config = mkIf cfg.enable {
programs.wireshark.enable = true;
};
}