Add zram module

This commit is contained in:
Oliver Davies 2025-04-16 08:00:00 +01:00
parent b6ab926769
commit 16156312a1
2 changed files with 8 additions and 2 deletions

7
modules/mixins/zram.nix Normal file
View file

@ -0,0 +1,7 @@
{
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 90;
};
}