hardcoded swap for sandbox

This commit is contained in:
soraefir
2026-06-01 22:06:28 +02:00
parent 584859d47c
commit 7805758114

View File

@@ -1,4 +1,9 @@
{ config, inputs, ... }: { { config, inputs, ... }: {
imports = [ ./hardware.nix ../../modules/server ]; imports = [ ./hardware.nix ../../modules/server ];
swapDevices = [ {
device = "/swapfile";
size = 4 * 1024; # Size in megabytes (4 GB)
} ];
} }