From 208dfa173e3757c1ce040cf327605fb6e5e32ad1 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Wed, 7 Feb 2024 12:28:24 +0100 Subject: [PATCH] Baldur: add 4G swap file --- instances/baldur/hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/instances/baldur/hardware-configuration.nix b/instances/baldur/hardware-configuration.nix index 0890335..d92976f 100644 --- a/instances/baldur/hardware-configuration.nix +++ b/instances/baldur/hardware-configuration.nix @@ -18,5 +18,7 @@ fsType = "ext4"; }; - swapDevices = [ ]; + swapDevices = [ + { device = "/swapfile"; size = 1024 * 4; } + ]; }