Enable zram

otherwise, cryptsetup gets OOM killed when adding a new key
This commit is contained in:
Jakob Lechner 2024-02-29 17:48:12 +00:00
parent 099f0df913
commit 24fe88e338

View file

@ -205,5 +205,12 @@ with lib; {
options.zfs.fsname = "rpool/nixos/podman";
};
};
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 60;
priority = 1;
};
};
}