enable sysdig and also bpf debugging stuff
This commit is contained in:
parent
b202b61c50
commit
1301a4b402
2 changed files with 12 additions and 1 deletions
|
|
@ -15,7 +15,16 @@
|
|||
hardware.i2c.enable = true;
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelPatches = lib.singleton {
|
||||
name = "ebpf-config";
|
||||
patch = null;
|
||||
structuredExtraConfig = with lib.kernel; {
|
||||
BPF_KPROBE_OVERRIDE = yes;
|
||||
FUNCTION_ERROR_INJECTION = yes;
|
||||
};
|
||||
};
|
||||
# using lts for now
|
||||
# kernelPackages = pkgs.linuxPackages_latest;
|
||||
initrd = {
|
||||
verbose = false;
|
||||
availableKernelModules = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue