From 8f028d26b25bbb375a8f09580fc99c16f9a69a51 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 14 Dec 2024 08:26:09 +0300 Subject: [PATCH] Max: Add swap device. --- host/x86_64-linux/max/Filesystem.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/host/x86_64-linux/max/Filesystem.nix b/host/x86_64-linux/max/Filesystem.nix index cecf8b87..30d37b43 100644 --- a/host/x86_64-linux/max/Filesystem.nix +++ b/host/x86_64-linux/max/Filesystem.nix @@ -8,4 +8,12 @@ ]; }; }; + + swapDevices = [{ + device = "/dev/storage/swap"; + randomEncryption.enable = true; + options = [ + "nofail" + ]; + }]; }