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 = {
|
zramSwap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
algorithm = "zstd";
|
algorithm = "zstd";
|
||||||
|
memoryPercent = 25;
|
||||||
};
|
};
|
||||||
services.hardware.bolt.enable = true;
|
services.hardware.bolt.enable = true;
|
||||||
services.fprintd = {
|
services.fprintd = {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"vm.swappiness" = 50;
|
"vm.swappiness" = 75;
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/" = { device = "/dev/disk/by-uuid/7ae9348d-604e-4196-a27b-24a7495438c3"; fsType = "ext4"; };
|
fileSystems."/" = { device = "/dev/disk/by-uuid/7ae9348d-604e-4196-a27b-24a7495438c3"; fsType = "ext4"; };
|
||||||
|
|
Loading…
Reference in a new issue