From c347fc0f000f05a6cb7ec6328c14da8d1b3b51a5 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sun, 3 Mar 2024 14:01:35 +0100 Subject: [PATCH] reduce memory of vpay further to prevent OOM install lspci and dmidecode --- nix/default.nix | 2 ++ nix/machines/vpay.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/nix/default.nix b/nix/default.nix index a9e34ab..1580f85 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -93,6 +93,8 @@ radvd minicom socat + pciutils + dmidecode ]; nixpkgs.overlays = [ diff --git a/nix/machines/vpay.nix b/nix/machines/vpay.nix index 49a1a67..7e67f33 100644 --- a/nix/machines/vpay.nix +++ b/nix/machines/vpay.nix @@ -4,7 +4,7 @@ hypervisorName = "lewis"; nixosModule = { - microvm.balloonMem = 5120; + microvm.balloonMem = 4600; lab = { dockerSwarm.enable = true;