Enable zram on aluminium
This commit is contained in:
parent
8dbc3b1c12
commit
b4c2b9135c
1 changed files with 8 additions and 0 deletions
|
|
@ -101,6 +101,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
memoryPercent = 60;
|
||||
numDevices = 1;
|
||||
priority = 1;
|
||||
};
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue