From 5716d8dca857acb83e0a4325291caa46b23d6a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 13 Mar 2024 14:37:04 +0200 Subject: [PATCH] kptr_restrict = 0 --- modules/base/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/base/default.nix b/modules/base/default.nix index 56f878d..ca64d88 100644 --- a/modules/base/default.nix +++ b/modules/base/default.nix @@ -45,6 +45,7 @@ in { kernel.sysctl = { "kernel.sysrq" = "438"; "kernel.perf_event_paranoid" = "-1"; + "kernel.kptr_restrict" = "0"; }; kernelPackages = lib.mkDefault pkgs.zfs.latestCompatibleLinuxPackages;