Merge pull request #400 from vroad/remove-swappiness

Remove swappiness config
This commit is contained in:
Jörg Thalheim authored and GitHub committed 2022-04-08 08:00:24 +01:00
commit 6c6e161b10
2 files changed
+1 -9

No files matched your search

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