From 3478c743cee4e890ab649dc5e9e16cc952dfb882 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Wed, 30 Apr 2025 10:27:12 -0500 Subject: [PATCH] reduce swap file and add other drive to h001 --- hosts/h001/hardware-configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/h001/hardware-configuration.nix b/hosts/h001/hardware-configuration.nix index 9a0573e..a3b417a 100644 --- a/hosts/h001/hardware-configuration.nix +++ b/hosts/h001/hardware-configuration.nix @@ -36,10 +36,15 @@ ]; }; + fileSystems."/drives/wd10" = { + device = "/dev/sda"; + fsType = "ext4"; + }; + swapDevices = [ { device = "/.swapfile"; - size = 64 * 1024; # 64GB + size = 4 * 1024; # 4GB } ]; networking.useDHCP = lib.mkDefault true;