mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 11:29:42 +01:00
Merge pull request #400 from vroad/remove-swappiness
Remove swappiness config
This commit is contained in:
commit
6c6e161b10
2 changed files with 1 additions and 9 deletions
|
@ -1,7 +1,3 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{}
|
||||||
boot.kernel.sysctl = {
|
|
||||||
"vm.swappiness" = lib.mkDefault 10;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue