From 6ad74412c7bcb507644217642a9dac1b9df0b0f3 Mon Sep 17 00:00:00 2001 From: Alex Stan Date: Mon, 11 Dec 2023 19:49:05 +0200 Subject: [PATCH] swap go brrrr Signed-off-by: Alex Stan --- hosts/titan/hardware/hardware-configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/titan/hardware/hardware-configuration.nix b/hosts/titan/hardware/hardware-configuration.nix index 55d0d06..24c1687 100644 --- a/hosts/titan/hardware/hardware-configuration.nix +++ b/hosts/titan/hardware/hardware-configuration.nix @@ -23,7 +23,10 @@ fsType = "vfat"; }; - swapDevices = [ ]; + swapDevices = [ { + device = "/var/lib/swapfile"; + size = 64 * 1024; + } ]; # 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