Remove swappiness config

This commit is contained in:
vroad 2022-03-31 10:44:20 +09:00
parent feceb4d24f
commit ae3ac92431
2 changed files with 1 additions and 9 deletions

View file

@ -1,7 +1,3 @@
{ lib, ... }: { lib, ... }:
{ {}
boot.kernel.sysctl = {
"vm.swappiness" = lib.mkDefault 10;
};
}

View file

@ -1,9 +1,5 @@
{ lib, ... }: { lib, ... }:
{ {
boot.kernel.sysctl = {
"vm.swappiness" = lib.mkDefault 1;
};
services.fstrim.enable = lib.mkDefault true; services.fstrim.enable = lib.mkDefault true;
} }