From 86dd8bec5e3b3e0207af4cc427cf79cef4b4bcf9 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Wed, 7 Aug 2024 19:10:30 +0300 Subject: [PATCH] host/istal: add swapfile --- hosts/istal/hardware-configuration/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/istal/hardware-configuration/default.nix b/hosts/istal/hardware-configuration/default.nix index b19b46e..569c5a6 100644 --- a/hosts/istal/hardware-configuration/default.nix +++ b/hosts/istal/hardware-configuration/default.nix @@ -5,4 +5,11 @@ ./generated.nix ./networking.secret.nix ]; + + swapDevices = [ + { + device = "/var/lib/swapfile"; + size = 2 * 1024; + } + ]; }