From 8c98a1a7e9a08e89096cd7e7ca67621037c623b8 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Tue, 25 Jul 2023 12:22:50 +0200 Subject: [PATCH] Raise swap to 4gb --- nki-personal-do/hardware-configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nki-personal-do/hardware-configuration.nix b/nki-personal-do/hardware-configuration.nix index d69dbc4..f0d5593 100644 --- a/nki-personal-do/hardware-configuration.nix +++ b/nki-personal-do/hardware-configuration.nix @@ -6,7 +6,7 @@ boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; # swap - swapDevices = [{ device = "/var/swapfile"; size = 2 * 1024; }]; + swapDevices = [{ device = "/var/swapfile"; size = 4 * 1024; }]; # volumes fileSystems.data = { device = "/dev/disk/by-id/scsi-0HC_Volume_31812942";