From 8f1ad4e112447dcbcc5ce2b49c9e5ebfe6a39d1a Mon Sep 17 00:00:00 2001 From: Andre Date: Tue, 2 Jul 2024 14:04:25 -0400 Subject: [PATCH] Dimaga: add swap file --- hosts/Dimaga/hardware-configuration.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/Dimaga/hardware-configuration.nix b/hosts/Dimaga/hardware-configuration.nix index 5019f83..052cc6a 100644 --- a/hosts/Dimaga/hardware-configuration.nix +++ b/hosts/Dimaga/hardware-configuration.nix @@ -62,6 +62,13 @@ in }; }; + swapDevices = [ + { + device = "/swap/swapfile"; + size = 16384; + } + ]; + # 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 # still possible to use this option, but it's recommended to use it in conjunction