mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-05 15:33:29 +01:00
Remove swappiness config
This commit is contained in:
1 parent
feceb4d24f
commit
ae3ac92431
2 files changed
+1
-9
No files matched your search
@@ -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;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user