perf: allow more for users

This commit is contained in:
Motiejus Jakštys 2024-03-13 14:32:34 +02:00 committed by Motiejus Jakštys
parent b35a2ab8e4
commit 3ff33aab35

View File

@ -42,7 +42,10 @@ in {
config = { config = {
boot = { boot = {
# https://github.com/NixOS/nixpkgs/issues/83694#issuecomment-605657381 # 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; kernelPackages = lib.mkDefault pkgs.zfs.latestCompatibleLinuxPackages;
}; };