From eab130b99df40dca294acc3d1ced336dfd9eab45 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Fri, 30 May 2025 16:38:25 +0200 Subject: [PATCH] Removed swapfile --- profiles/nixos/vm.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/profiles/nixos/vm.nix b/profiles/nixos/vm.nix index c68573b..6246162 100644 --- a/profiles/nixos/vm.nix +++ b/profiles/nixos/vm.nix @@ -70,17 +70,6 @@ in "sd_mod" "sr_mod" ]; - boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - hardware.cpu.intel.updateMicrocode = true; - - # Swapfile - swapDevices = [ - { - device = "/var/lib/swapfile"; - size = 6 * 1024; - } - ]; }; }