From 8477d30ff32fcffb43528db187dfac0cf225778f Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Mon, 11 Dec 2023 10:33:20 +0100 Subject: [PATCH] Freya: swapfile --- instances/freya/hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/instances/freya/hardware-configuration.nix b/instances/freya/hardware-configuration.nix index 267fa24..f648573 100644 --- a/instances/freya/hardware-configuration.nix +++ b/instances/freya/hardware-configuration.nix @@ -25,7 +25,9 @@ }; }; - swapDevices = [ ]; + swapDevices = [ + { device = "/swapfile"; size = 1024 * 32; } + ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's