From 68169359ee9a6908c51b8a8f8fd5c01339b0b848 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Fri, 23 Oct 2026 16:00:59 -0600 Subject: enable swap --- machines/betsy/hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'machines/betsy/hardware-configuration.nix') diff --git a/machines/betsy/hardware-configuration.nix b/machines/betsy/hardware-configuration.nix index 96227a1..6343ee0 100644 --- a/machines/betsy/hardware-configuration.nix +++ b/machines/betsy/hardware-configuration.nix @@ -57,7 +57,9 @@ options = [ "subvol=@log" "compress-force=zstd:5" "noatime" ]; }; - swapDevices = [ ]; + swapDevices = [{ + device = "/swap/swapfile"; + }]; # 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 -- cgit v1.3.1