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