more zram swap

This commit is contained in:
Cyryl Płotnicki 2020-07-12 09:23:51 +01:00
parent b70af86822
commit a194d975df
2 changed files with 2 additions and 1 deletions

View file

@ -27,6 +27,7 @@
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 25;
};
services.hardware.bolt.enable = true;
services.fprintd = {

View file

@ -9,7 +9,7 @@
boot.extraModulePackages = [ ];
boot.kernel.sysctl = {
"vm.swappiness" = 50;
"vm.swappiness" = 75;
};
fileSystems."/" = { device = "/dev/disk/by-uuid/7ae9348d-604e-4196-a27b-24a7495438c3"; fsType = "ext4"; };