flake/nixos/profiles/core/addtional/zram-generator.nix
2023-11-17 13:38:25 +08:00

9 lines
158 B
Nix

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