From a9bac2403671e05e2003f95bc60b68fffe8e9287 Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@privatestorage.io>
Date: Tue, 15 Jun 2021 20:34:53 +0000
Subject: [PATCH] Also configure swappiness for the testing storage node

---
 morph/grid/testing/testing001-hardware.nix | 1 +
 1 file changed, 1 insertion(+)

diff --git a/morph/grid/testing/testing001-hardware.nix b/morph/grid/testing/testing001-hardware.nix
index 958a2478..3943a375 100644
--- a/morph/grid/testing/testing001-hardware.nix
+++ b/morph/grid/testing/testing001-hardware.nix
@@ -1,6 +1,7 @@
 {
   imports = [ <nixpkgs/nixos/modules/virtualisation/amazon-image.nix> ];
   ec2.hvm = true;
+  boot.kernel.sysctl = { "vm.swappiness" = 0; };
 
   boot.supportedFilesystems = [ "zfs" ];
   networking.hostId = "10000000";
-- 
GitLab