From 589cca14825e165f8e7e5b9c13b5278ffa84a3dd Mon Sep 17 00:00:00 2001 From: Quinn Unger Date: Thu, 13 Aug 2026 14:33:12 +0100 Subject: [PATCH] use zswap on all hosts --- hosts/kaoru/os/hardware-configuration.nix | 2 ++ hosts/shizuka/hardware-configuration.nix | 2 ++ hosts/tsumugi/hardware-configuration.nix | 2 ++ hosts/yuhata/os/hardware-configuration.nix | 2 ++ hosts/yure/hardware-configuration.nix | 2 ++ 5 files changed, 10 insertions(+) diff --git a/hosts/kaoru/os/hardware-configuration.nix b/hosts/kaoru/os/hardware-configuration.nix index f62e21e..1a56518 100644 --- a/hosts/kaoru/os/hardware-configuration.nix +++ b/hosts/kaoru/os/hardware-configuration.nix @@ -60,6 +60,8 @@ ]; }; + boot.tmp.cleanOnBoot = true; + boot.zswap.enable = true; swapDevices = [ { device = "/dev/disk/by-uuid/efa4d278-62f5-48ce-8fdd-6571fa61ea1a"; } ]; diff --git a/hosts/shizuka/hardware-configuration.nix b/hosts/shizuka/hardware-configuration.nix index 1233404..fbb4755 100644 --- a/hosts/shizuka/hardware-configuration.nix +++ b/hosts/shizuka/hardware-configuration.nix @@ -43,6 +43,8 @@ fsType = "ext4"; }; + boot.tmp.cleanOnBoot = true; + boot.zswap.enable = true; swapDevices = [ { device = "/dev/disk/by-uuid/189dd6aa-0066-4bc8-8598-534666eba59e"; } { diff --git a/hosts/tsumugi/hardware-configuration.nix b/hosts/tsumugi/hardware-configuration.nix index c089f1d..5a26e6f 100644 --- a/hosts/tsumugi/hardware-configuration.nix +++ b/hosts/tsumugi/hardware-configuration.nix @@ -69,6 +69,8 @@ ]; }; + boot.tmp.cleanOnBoot = true; + boot.zswap.enable = true; swapDevices = [ { device = "/dev/disk/by-uuid/290e7047-d429-4196-825d-8fd6cc01d7d5"; } ]; diff --git a/hosts/yuhata/os/hardware-configuration.nix b/hosts/yuhata/os/hardware-configuration.nix index c0fa505..f24d621 100644 --- a/hosts/yuhata/os/hardware-configuration.nix +++ b/hosts/yuhata/os/hardware-configuration.nix @@ -62,6 +62,8 @@ ]; }; + boot.tmp.cleanOnBoot = true; + boot.zswap.enable = true; swapDevices = [ { device = "/dev/disk/by-uuid/4ccd9516-6157-4bcc-a49f-6298e6ec70d4"; } ]; diff --git a/hosts/yure/hardware-configuration.nix b/hosts/yure/hardware-configuration.nix index eccc928..485aa8b 100644 --- a/hosts/yure/hardware-configuration.nix +++ b/hosts/yure/hardware-configuration.nix @@ -49,6 +49,8 @@ # https://aur.archlinux.org/packages/libcrystalhd + boot.tmp.cleanOnBoot = true; + boot.zswap.enable = true; swapDevices = [ { device = "/dev/disk/by-uuid/a55aed88-5155-4c6a-8508-34360cd1212a"; } ]; boot.resumeDevice = "/dev/disk/by-uuid/a55aed88-5155-4c6a-8508-34360cd1212a"; -- 2.54.0