From 1d685b3600636468687b0d792cbb9b993d003597 Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Tue, 16 Dec 2025 13:00:22 +1000 Subject: [PATCH] Disable swap file --- hosts/modules/base.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hosts/modules/base.nix b/hosts/modules/base.nix index bd1f8fa..d8d3e9c 100644 --- a/hosts/modules/base.nix +++ b/hosts/modules/base.nix @@ -11,11 +11,6 @@ shell = pkgs.fish; }; - # enable a 1GB swap file - swapDevices = [{ - device = "/swapfile"; - size = 1024; - }]; # enable zram. not totally sure if this does it in physical ram or just swap zramSwap.enable = true;