From a0bdcc04446120c413e80d32d3da369682e9a15a Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sun, 8 Feb 2026 19:12:32 +0000 Subject: [PATCH] manatee: Add swapfile --- hosts/manatee/hardware-configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/manatee/hardware-configuration.nix b/hosts/manatee/hardware-configuration.nix index 75410c9..bed913b 100644 --- a/hosts/manatee/hardware-configuration.nix +++ b/hosts/manatee/hardware-configuration.nix @@ -26,6 +26,13 @@ boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; + swapDevices = [ + { + device = "/swapfile"; + size = 32 * 1024; # 32GB + } + ]; + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction