From bcb5949e151e1244e7c5365c1a1de7f8f9648508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 17 Nov 2020 22:17:41 +0100 Subject: [PATCH] fix(toum): use 1G swapfile --- systems/toum/hardware-configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/systems/toum/hardware-configuration.nix b/systems/toum/hardware-configuration.nix index c2cf0f2..d64c103 100644 --- a/systems/toum/hardware-configuration.nix +++ b/systems/toum/hardware-configuration.nix @@ -9,5 +9,8 @@ }; }; - zramSwap.enable = true; + swapDevices = [{ + device = "/swapfile"; + size = 1024; + }]; }