From a1030b34173c3b710c35bb648767b177bf7ff7d9 Mon Sep 17 00:00:00 2001 From: voidarc Date: Thu, 30 Jul 2026 13:07:54 +0100 Subject: [PATCH] added swapfile --- modules/hosts/server02/server02Configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/hosts/server02/server02Configuration.nix b/modules/hosts/server02/server02Configuration.nix index 05bc264..c2337a2 100644 --- a/modules/hosts/server02/server02Configuration.nix +++ b/modules/hosts/server02/server02Configuration.nix @@ -3,5 +3,11 @@ networking = { hostName = "server02"; }; + swapDevices = [ + { + device = "/swapfile"; + size = 16 * 1024; + } + ]; }; }