15 lines
310 B
Nix
15 lines
310 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
cfg = config.programs.sysdig;
|
||
|
in {
|
||
|
options.programs.sysdig.enable = mkEnableOption (lib.mdDoc "sysdig");
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
environment.systemPackages = [ pkgs.sysdig ];
|
||
|
boot.extraModulePackages = [ config.boot.kernelPackages.sysdig ];
|
||
|
};
|
||
|
}
|