2017-09-29 15:58:03 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
cfg = config.programs.sysdig;
|
|
|
|
in {
|
2022-08-28 21:18:44 +02:00
|
|
|
options.programs.sysdig.enable = mkEnableOption (lib.mdDoc "sysdig");
|
2017-09-29 15:58:03 +02:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
environment.systemPackages = [ pkgs.sysdig ];
|
|
|
|
boot.extraModulePackages = [ config.boot.kernelPackages.sysdig ];
|
|
|
|
};
|
|
|
|
}
|