diff --git a/hosts/mauville/default.nix b/hosts/mauville/default.nix index af38b9a3..fb28f0a9 100644 --- a/hosts/mauville/default.nix +++ b/hosts/mauville/default.nix @@ -26,6 +26,10 @@ extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ]; }; + systemConfig = { + zramSwap.enable = true; + }; + homeLab.enable = true; desktopConfig.enable = true; diff --git a/hosts/mauville/hardware-configuration.nix b/hosts/mauville/hardware-configuration.nix index f3336404..9785158f 100644 --- a/hosts/mauville/hardware-configuration.nix +++ b/hosts/mauville/hardware-configuration.nix @@ -32,8 +32,10 @@ fsType = "ext4"; }; - swapDevices = - [{ device = "/dev/disk/by-uuid/26094ada-7ba4-4437-bacb-b3cdf6c3397b"; }]; + swapDevices = [{ + device = "/dev/disk/by-uuid/26094ada-7ba4-4437-bacb-b3cdf6c3397b"; + priority = 1; + }]; # 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 diff --git a/hosts/petalburg/hardware-configuration.nix b/hosts/petalburg/hardware-configuration.nix index 822997e0..5eeacc3f 100644 --- a/hosts/petalburg/hardware-configuration.nix +++ b/hosts/petalburg/hardware-configuration.nix @@ -22,8 +22,10 @@ fsType = "vfat"; }; - swapDevices = - [{ device = "/dev/disk/by-uuid/7a33dbc2-73f7-490b-9aa6-382e119a997e"; }]; + swapDevices = [{ + device = "/dev/disk/by-uuid/7a33dbc2-73f7-490b-9aa6-382e119a997e"; + priority = 1; + }]; # 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