summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/core.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/profiles/core.nix b/profiles/core.nix
index 5f29653..f81ead8 100644
--- a/profiles/core.nix
+++ b/profiles/core.nix
@@ -32,5 +32,16 @@
 
     # save uid/guid
     environment.persistence."/nix/persist".directories = ["/var/lib/nixos"];
+
+    boot = {
+      tmp.cleanOnBoot = true;
+      kernelParams = [
+        "init_on_free=1"
+        "page_poison=1"
+        "page_alloc.shuffle=1"
+        "slab_nomerge"
+        "vsyscall=none"
+      ];
+    };
   };
 }