10 lines
322 B
Nix
10 lines
322 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
options.programs.bcc.enable = lib.mkEnableOption (lib.mdDoc "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 ];
|
|
};
|
|
}
|