From e988a91a566786ae41eac252ede95658ccb73c38 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sat, 26 Oct 2024 21:49:45 +0300 Subject: [PATCH] Add swap for shire --- hosts/Shire/configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/Shire/configuration.nix b/hosts/Shire/configuration.nix index fbb8205c..d4398378 100644 --- a/hosts/Shire/configuration.nix +++ b/hosts/Shire/configuration.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ lib, ... }: { imports = [ @@ -24,4 +24,9 @@ ]; }; }; + + swapDevices = [{ + device = "/var/lib/swapfile"; + size = 8 * 1024; + }]; }