From f46b9ab1290c38d89fa875d4c91e82ea500fd589 Mon Sep 17 00:00:00 2001 From: JuliusFreudenberger Date: Fri, 26 Jun 2026 22:09:31 +0200 Subject: [PATCH] Configure vmVariant for more cores and memory When testing the config in a vm, have more ressources available. Otherwise oom errors can occur. --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index 3ff514b..2bf22f8 100644 --- a/flake.nix +++ b/flake.nix @@ -105,6 +105,12 @@ home-manager.extraSpecialArgs = inputs // specialArgs; home-manager.users.${username} = import ./users/${username}/home.nix; } + { + virtualisation.vmVariant.virtualisation = { + memorySize = 8192; + cores = 3; + }; + } ]; };