From 3e918ef856a9d70e489663e1d00d6ba226ba73a1 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 20 Mar 2025 18:07:01 -0400 Subject: [PATCH] pureintent: enable swap --- configurations/nixos/pureintent/hardware-configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configurations/nixos/pureintent/hardware-configuration.nix b/configurations/nixos/pureintent/hardware-configuration.nix index 99b60fe..d526c1a 100644 --- a/configurations/nixos/pureintent/hardware-configuration.nix +++ b/configurations/nixos/pureintent/hardware-configuration.nix @@ -27,7 +27,9 @@ options = [ "fmask=0077" "dmask=0077" ]; }; - swapDevices = [ ]; + swapDevices = [ + { device = "/var/lib/swapfile"; size = 32 * 1024; } + ]; # 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