From 6dc50bdcfc3a3e58d3fadf314d41a54fd46c3110 Mon Sep 17 00:00:00 2001 From: kalle Date: Fri, 9 Jan 2026 09:59:09 +0000 Subject: [PATCH] feat: enable virtio balloon driver for dynamic memory resizing Adds virtio_balloon kernel module to support live memory resize operations from the hypervisor without requiring VM reboot. Co-Authored-By: Claude Opus 4.5 --- configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration.nix b/configuration.nix index 61ed7e7..995b7a0 100644 --- a/configuration.nix +++ b/configuration.nix @@ -20,6 +20,9 @@ "console=tty1" ]; + # Enable virtio balloon driver for dynamic memory resizing + boot.kernelModules = [ "virtio_balloon" ]; + systemd.services."serial-getty@ttyS0" = { enable = true; wantedBy = [ "getty.target" ]; # to start at boot