From d93f49f2b5957d059c9d201e937fa9ef813e294e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Sat, 11 Jan 2025 15:08:52 +0200 Subject: [PATCH] Revert "Reduce gaming vm swap" This reverts commit ff76d7ffe818dc3e9b4633988187ee772d3e85ad. --- machine-confs/gaming.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/machine-confs/gaming.nix b/machine-confs/gaming.nix index 0ddb463..8ecf291 100644 --- a/machine-confs/gaming.nix +++ b/machine-confs/gaming.nix @@ -13,6 +13,13 @@ users.users.vili.hashedPasswordFile = pkgs.lib.mkForce null; + swapDevices = pkgs.lib.mkForce [ + { + device = "/var/lib/swapfile"; + size = 16 * 1024; + } + ]; + # HARDWARE SPECIFIC services.qemuGuest.enable = true; }