feat(ops/nixos/nugget): Add sysctl setting necessary for perf
This commit is contained in:
parent
d53f0a2d05
commit
41bf99bd9e
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ in depot.lib.fix(self: {
|
||||||
availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
||||||
kernelModules = [ "dm-snapshot" ];
|
kernelModules = [ "dm-snapshot" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kernel.sysctl = {
|
||||||
|
"kernel.perf_event_paranoid" = 1;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|
Loading…
Reference in a new issue