From 8622e9d4f3a23914c95cdff9b194149f618d590a Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 11 Oct 2022 21:31:16 +0200 Subject: [PATCH] Add swapfile --- hosts/architect/hardware.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/architect/hardware.nix b/hosts/architect/hardware.nix index be5ffa2..d3fa051 100644 --- a/hosts/architect/hardware.nix +++ b/hosts/architect/hardware.nix @@ -36,6 +36,11 @@ device = "backedpool/services"; fsType = "zfs"; }; + swapDevices = [{ + device = "/swapfile"; + size = 1024 * 64; + }]; + boot = { initrd.luks.devices = { root = {