Merge pull request #116 from NixOS/fstrim

enable fstrim on SSDs
This commit is contained in:
Yegor Timoshenko authored and GitHub committed 2019-07-24 12:42:37 +03:00
commit 34f24f2480
1 file changed
+2
+2
View File
@@ -4,4 +4,6 @@
boot.kernel.sysctl = {
"vm.swappiness" = lib.mkDefault 1;
};
services.fstrim.enable = lib.mkDefault true;
}