diff --git a/modules/base/default.nix b/modules/base/default.nix index d14623d..56f878d 100644 --- a/modules/base/default.nix +++ b/modules/base/default.nix @@ -42,7 +42,10 @@ in { config = { boot = { # https://github.com/NixOS/nixpkgs/issues/83694#issuecomment-605657381 - kernel.sysctl."kernel.sysrq" = "438"; + kernel.sysctl = { + "kernel.sysrq" = "438"; + "kernel.perf_event_paranoid" = "-1"; + }; kernelPackages = lib.mkDefault pkgs.zfs.latestCompatibleLinuxPackages; };