From 2667fa7c6cd71e2a921234f9e519c58c61f945f6 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Fri, 4 Jul 2025 22:17:56 +0200 Subject: [PATCH] System/Nixinator: Enable swap --- system/nixinator/hardware-configuration.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/system/nixinator/hardware-configuration.nix b/system/nixinator/hardware-configuration.nix index 86c3234b..fb0118ae 100644 --- a/system/nixinator/hardware-configuration.nix +++ b/system/nixinator/hardware-configuration.nix @@ -92,11 +92,11 @@ }; swapDevices = lib.mkForce [ - # { - # device = "/var/swap"; - # # size = 1024 * 32 * 2; # twice the RAM for hibernation - # size = 1024 * 8; # Without hibernation 4.0 GB to 0.5 x RAM - # } + { + device = "/var/swap"; + # size = 1024 * 32 * 2; # twice the RAM for hibernation + size = 1024 * 16; # Without hibernation 4.0 GB to 0.5 x RAM + } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking