From 5dc2c8a98be9b788b84ea490bc7d08b571eb0e62 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Mon, 16 Oct 2023 09:29:14 +0200 Subject: [PATCH] hosts: server: disable swap --- hosts/server/hardware-configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/server/hardware-configuration.nix b/hosts/server/hardware-configuration.nix index 867544e..e9d43dc 100644 --- a/hosts/server/hardware-configuration.nix +++ b/hosts/server/hardware-configuration.nix @@ -97,7 +97,8 @@ }; - swapDevices = [ { device = "/swap/swapfile"; } ]; + #swapDevices = [ { device = "/swap/swapfile"; } ]; + swapDevices = [ ]; networking = { useDHCP = false; # Deprecated