From a0b9d10b1463d28f6bc3a64032357aeb0d4778df Mon Sep 17 00:00:00 2001 From: Aleix Roca Nonell Date: Fri, 30 Jun 2023 12:49:44 +0200 Subject: [PATCH] eudy: Enable memory overcommit --- m/eudy/kernel/kernel.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/m/eudy/kernel/kernel.nix b/m/eudy/kernel/kernel.nix index 17a580b..3078fad 100644 --- a/m/eudy/kernel/kernel.nix +++ b/m/eudy/kernel/kernel.nix @@ -70,4 +70,8 @@ in { boot.kernelParams = [ "mitigations=off" ]; + + # enable memory overcommit, needed to build a taglibc system using nix after + # increasing the openblas memory footprint + boot.kernel.sysctl."vm.overcommit_memory" = 1; }