flake/nixos/profiles/use-cases/zram-generator.nix
2023-11-22 10:19:11 +08:00

9 lines
158 B
Nix

{...}: {
services.zram-generator = {
enable = true;
settings.zram0 = {
compression-algorithm = "zstd";
zram-size = "ram";
};
};
}