diff --git a/systems/makanek/hardware-configuration.nix b/systems/makanek/hardware-configuration.nix index 36d4e05..f2f557d 100644 --- a/systems/makanek/hardware-configuration.nix +++ b/systems/makanek/hardware-configuration.nix @@ -16,6 +16,7 @@ }; swapDevices = [ ]; + zramSwap.enable = true; nix.maxJobs = lib.mkDefault 2; } diff --git a/systems/manakish/hardware-configuration.nix b/systems/manakish/hardware-configuration.nix index b7b5385..b057864 100644 --- a/systems/manakish/hardware-configuration.nix +++ b/systems/manakish/hardware-configuration.nix @@ -26,6 +26,7 @@ }; swapDevices = [ ]; + zramSwap.enable = true; boot.loader.grub = { enable = true; diff --git a/systems/toum/hardware-configuration.nix b/systems/toum/hardware-configuration.nix index d64c103..c2cf0f2 100644 --- a/systems/toum/hardware-configuration.nix +++ b/systems/toum/hardware-configuration.nix @@ -9,8 +9,5 @@ }; }; - swapDevices = [{ - device = "/swapfile"; - size = 1024; - }]; + zramSwap.enable = true; } diff --git a/systems/wilde/hardware-configuration.nix b/systems/wilde/hardware-configuration.nix index ab390ca..131123f 100644 --- a/systems/wilde/hardware-configuration.nix +++ b/systems/wilde/hardware-configuration.nix @@ -18,13 +18,7 @@ fsType = "vfat"; }; - swapDevices = [ - { - device = "/swapfile"; - priority = 0; - size = 4096; - } - ]; + zramSwap.enable = true; nix.maxJobs = lib.mkDefault 4; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";