more zram swap
This commit is contained in:
parent
b70af86822
commit
a194d975df
2 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
memoryPercent = 25;
|
||||
};
|
||||
services.hardware.bolt.enable = true;
|
||||
services.fprintd = {
|
||||
|
|
|
@ -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"; };
|
||||
|
|
Loading…
Reference in a new issue