flake/nixos/presets/core/zram-generator.nix

10 lines
158 B
Nix
Raw Normal View History

2023-11-05 09:35:05 +00:00
{...}: {
services.zram-generator = {
enable = true;
settings.zram0 = {
compression-algorithm = "zstd";
zram-size = "ram";
};
};
}