nixpkgs/nixos/modules/programs/sysdig.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
310 B
Nix
Raw Normal View History

2017-09-29 14:58:03 +01:00
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.programs.sysdig;
in {
options.programs.sysdig.enable = mkEnableOption (lib.mdDoc "sysdig");
2017-09-29 14:58:03 +01:00
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.sysdig ];
boot.extraModulePackages = [ config.boot.kernelPackages.sysdig ];
};
}