1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-03 16:29:43 +01:00

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, ... }:
{
boot.kernel.sysctl = {
"vm.swappiness" = lib.mkDefault 10;
};
}
{}

View file

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