From e5af2ed5d5ce093a46c7773fe472257845db695f Mon Sep 17 00:00:00 2001 From: Adrian G L Date: Thu, 20 Jun 2024 20:12:40 +0200 Subject: [PATCH] some zswap by default --- profiles/base.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profiles/base.nix b/profiles/base.nix index 947eaa7..804b308 100644 --- a/profiles/base.nix +++ b/profiles/base.nix @@ -24,6 +24,11 @@ imports = #just allow unfree, im fine with it. nixpkgs.config.allowUnfree = true; + zramSwap = { + enable = true; + memoryPercent = 25; + }; + # Set your time zone. time.timeZone = "Europe/Oslo";