1 { config, lib, pkgs, ... }:
4 cfg = config.programs.sysdig;
6 options.programs.sysdig.enable = lib.mkEnableOption "sysdig, a tracing tool";
8 config = lib.mkIf cfg.enable {
9 environment.systemPackages = [ pkgs.sysdig ];
10 boot.extraModulePackages = [ config.boot.kernelPackages.sysdig ];