Merge pull request #400 from vroad/remove-swappiness

Remove swappiness config
This commit is contained in:
Jörg Thalheim 2022-04-08 08:00:24 +01:00 committed by GitHub
commit 6c6e161b10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}