aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--srv/hadante/configuration.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/srv/hadante/configuration.nix b/srv/hadante/configuration.nix
index 95a6a22..70015ec 100644
--- a/srv/hadante/configuration.nix
+++ b/srv/hadante/configuration.nix
@@ -37,6 +37,11 @@ in
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
+ boot.kernel.sysctl = {
+ "kernel.perf_event_paranoid" = 1;
+ "kernel.kptr_restrict" = lib.mkForce 0;
+ };
+
networking.hostName = "hadante"; # Define your hostname.
user = "nea";