feat(ops/nixos/nugget): Add sysctl setting necessary for perf

This commit is contained in:
Vincent Ambo 2020-05-24 17:32:48 +01:00
parent d53f0a2d05
commit 41bf99bd9e

View file

@ -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 = {