12 lines
151 B
Nix
12 lines
151 B
Nix
{
|
|
zramSwap = {
|
|
enable = true;
|
|
algorithm = "lz4";
|
|
memoryPercent = 50;
|
|
};
|
|
|
|
swapDevices = [
|
|
{ device = "/swapfile"; size = 4096; }
|
|
];
|
|
}
|