diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-24T16·32+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-24T16·32+0100 |
commit | 41bf99bd9eac48bf3ddf06e567d1bdfef8e51a36 (patch) | |
tree | 247e881f52a42533fe857bd28a53066e4b909e12 /ops/nixos/nugget/default.nix | |
parent | d53f0a2d057fb08fbe387b77fda68c39bbd8374c (diff) |
feat(ops/nixos/nugget): Add sysctl setting necessary for perf r/837
Diffstat (limited to '')
-rw-r--r-- | ops/nixos/nugget/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ops/nixos/nugget/default.nix b/ops/nixos/nugget/default.nix index d4356901ab3b..6bfca391d9b8 100644 --- a/ops/nixos/nugget/default.nix +++ b/ops/nixos/nugget/default.nix @@ -39,6 +39,10 @@ in depot.lib.fix(self: { availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; kernelModules = [ "dm-snapshot" ]; }; + + kernel.sysctl = { + "kernel.perf_event_paranoid" = 1; + }; }; nix = { |