From 7be571e67d60e98b42e85e42c1d6db841ccdae24 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 15 Jun 2024 17:42:05 +0300 Subject: [PATCH] Home : Add swap. --- host/home/Filesystem.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/host/home/Filesystem.nix b/host/home/Filesystem.nix index c5e5a57..8c1202d 100644 --- a/host/home/Filesystem.nix +++ b/host/home/Filesystem.nix @@ -16,4 +16,9 @@ fsType = "ext4"; options = [ "nofail" "noatime" ]; }; + + swapDevices = [{ + device = "/var/lib/swapfile"; + size = 100 * 1024; + }]; }