From 780575811482a9600506ca48c5719443d72c8112 Mon Sep 17 00:00:00 2001 From: soraefir Date: Mon, 1 Jun 2026 22:06:28 +0200 Subject: [PATCH] hardcoded swap for sandbox --- systems/sandbox/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/systems/sandbox/default.nix b/systems/sandbox/default.nix index 0e55d0f..4010b0d 100644 --- a/systems/sandbox/default.nix +++ b/systems/sandbox/default.nix @@ -1,4 +1,9 @@ { config, inputs, ... }: { imports = [ ./hardware.nix ../../modules/server ]; + + swapDevices = [ { + device = "/swapfile"; + size = 4 * 1024; # Size in megabytes (4 GB) + } ]; }