From a8f19af989a816fdde6cddf1b5af8c5555b27d68 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Fri, 3 Jan 2025 10:44:51 -0800 Subject: [PATCH] [nix-book] Compress swap --- machines/nix-book/hardware-configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/machines/nix-book/hardware-configuration.nix b/machines/nix-book/hardware-configuration.nix index 13574b7..b23fb94 100644 --- a/machines/nix-book/hardware-configuration.nix +++ b/machines/nix-book/hardware-configuration.nix @@ -29,6 +29,7 @@ swapDevices = [ { device = "/dev/disk/by-uuid/ec1f70ea-27b6-4646-ad3b-eac41bd83e3e"; } ]; + zramSwap.enable = true; # 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