From 11ca45ede7f5cb7be1e58cd154739dd79008c25b Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 15 Oct 2023 15:14:42 -0400 Subject: [PATCH] refactor: move zswap into extra-hardware --- hosts/wim/cfg/extra-hardware.nix | 2 -- hosts/wim/hardware-configuration.nix | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/wim/cfg/extra-hardware.nix b/hosts/wim/cfg/extra-hardware.nix index 0ff8c52f..1627b2c6 100644 --- a/hosts/wim/cfg/extra-hardware.nix +++ b/hosts/wim/cfg/extra-hardware.nix @@ -51,6 +51,4 @@ libvirtd.enable = true; waydroid.enable = true; }; - - zramSwap.enable = true; } diff --git a/hosts/wim/hardware-configuration.nix b/hosts/wim/hardware-configuration.nix index 97ea7bfc..63e6b312 100644 --- a/hosts/wim/hardware-configuration.nix +++ b/hosts/wim/hardware-configuration.nix @@ -25,6 +25,8 @@ swapDevices = [ ]; + 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 # still possible to use this option, but it's recommended to use it in conjunction