From ac76cf6a17c03eca58ccb6d7770ddd00b11f27eb Mon Sep 17 00:00:00 2001
From: Benoit Donneaux <benoit@leastauthority.com>
Date: Mon, 4 Dec 2023 16:14:47 +0100
Subject: [PATCH] Use the existing swap partition

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
---
 morph/lib/issuer-payments-ovh.nix | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/morph/lib/issuer-payments-ovh.nix b/morph/lib/issuer-payments-ovh.nix
index 7b13ac0f..53defef0 100644
--- a/morph/lib/issuer-payments-ovh.nix
+++ b/morph/lib/issuer-payments-ovh.nix
@@ -7,9 +7,7 @@
   fileSystems."/" = { device = "/dev/sda3"; fsType = "ext4"; };
   
   swapDevices = [ {
-    device = "/var/swapfile";
-    size = 4096; # megabytes
-    randomEncryption = true;
+    device = "/dev/sda2";
   } ];
 
   # Break the tie between AWS and morph for the hostname by forcing the
-- 
GitLab