From 504a8cb06a42880aaf1bb0024c302c2d824b79e1 Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Mon, 6 Jan 2025 09:44:40 +0200 Subject: [PATCH] Add elara swap Signed-off-by: Nikolaos Karaolidis --- hosts/elara/format.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/elara/format.nix b/hosts/elara/format.nix index 3895ded..5775f2a 100644 --- a/hosts/elara/format.nix +++ b/hosts/elara/format.nix @@ -26,6 +26,14 @@ mountOptions = [ "umask=0077" ]; }; }; + swap = { + name = "swap"; + size = "32G"; + content = { + type = "swap"; + resumeDevice = true; + }; + }; root = { name = "root"; size = "100%";