diff --git a/hosts/workstation/default.nix b/hosts/workstation/default.nix index 5dd394d..ad2e6ed 100644 --- a/hosts/workstation/default.nix +++ b/hosts/workstation/default.nix @@ -185,6 +185,12 @@ in ]; }; + zramSwap = { + enable = true; + memoryPercent = 25; + memoryMax = 2147483648; + }; + # Allow unfree packages nixpkgs.config.allowUnfree = true; nixpkgs.config.permittedInsecurePackages = [ "electron-25.9.0" ];