aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-06-10 18:23:03 +0200
committerLinnea Gräf <nea@nea.moe>2025-06-10 18:23:03 +0200
commit3d6ac94cd2e8fbab8fa4c95f367cfafaf1a1576d (patch)
treeee5a8903f7162a73054449b85244bfee70230df6
parent2974a028e54567771ad5d5a0647c2ee591a91b73 (diff)
downloadnix-infra-3d6ac94cd2e8fbab8fa4c95f367cfafaf1a1576d.tar.gz
nix-infra-3d6ac94cd2e8fbab8fa4c95f367cfafaf1a1576d.tar.bz2
nix-infra-3d6ac94cd2e8fbab8fa4c95f367cfafaf1a1576d.zip
snapshot: Di 10. Jun 18:23:03 CEST 2025
-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";