feat: setup zram for servers.
This commit is contained in:
parent
90a98c8993
commit
f08b6878fb
1 changed files with 8 additions and 0 deletions
|
|
@ -1,4 +1,12 @@
|
|||
{
|
||||
# Setup ntp
|
||||
services.timesyncd.enable = true;
|
||||
|
||||
# Setup zram
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
memoryPercent = 100;
|
||||
priority = 100;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue