From 665f8f76dea52fd5d2b62b4a5f33a79848c110e1 Mon Sep 17 00:00:00 2001 From: teutat3s <teutates@mailbox.org> Date: Fri, 7 Feb 2025 11:19:31 -0300 Subject: [PATCH] tankstelle: enable ksm kernel same-page merging for potentially lower memory usage --- hosts/tankstelle/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/tankstelle/configuration.nix b/hosts/tankstelle/configuration.nix index 2b1a177..3993544 100644 --- a/hosts/tankstelle/configuration.nix +++ b/hosts/tankstelle/configuration.nix @@ -10,6 +10,9 @@ boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # kernel same-page merging + hardware.ksm.enable = true; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; system.stateVersion = "23.11";