14 lines
318 B
Nix
14 lines
318 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
options.programs.bcc.enable = lib.mkEnableOption "bcc, tools for BPF-based Linux IO analysis, networking, monitoring, and more";
|
|
|
|
config = lib.mkIf config.programs.bcc.enable {
|
|
environment.systemPackages = [ pkgs.bcc ];
|
|
boot.extraModulePackages = [ pkgs.bcc ];
|
|
};
|
|
}
|