From fbb29162cad798b6e0000ad2f259909680616471 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Mon, 1 Jul 2024 14:43:07 +0100 Subject: [PATCH] nixos/colony: Enable KSM --- nixos/boxes/colony/vms/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/boxes/colony/vms/default.nix b/nixos/boxes/colony/vms/default.nix index 5ec76c8..d764d81 100644 --- a/nixos/boxes/colony/vms/default.nix +++ b/nixos/boxes/colony/vms/default.nix @@ -29,6 +29,9 @@ }; in { + # Kernel Same-Page Merging to attempt memory usage reduction + hardware.ksm.enable = true; + systemd = { network = { links = {