blob: fbbf2906556477b264fcd3e29f0005ec4d82a9c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.programs.sysdig;
in {
options.programs.sysdig.enable = mkEnableOption "sysdig";
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.sysdig ];
boot.extraModulePackages = [ config.boot.kernelPackages.sysdig ];
};
}
|