some zswap by default

This commit is contained in:
Adrian Gunnar Lauterer 2024-06-20 20:12:40 +02:00
parent 0500370bae
commit e5af2ed5d5
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@ imports =
#just allow unfree, im fine with it. #just allow unfree, im fine with it.
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
zramSwap = {
enable = true;
memoryPercent = 25;
};
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Oslo"; time.timeZone = "Europe/Oslo";