Merge pull request #116 from NixOS/fstrim

enable fstrim on SSDs
This commit is contained in:
Yegor Timoshenko 2019-07-24 12:42:37 +03:00 committed by GitHub
commit 34f24f2480
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,4 +4,6 @@
boot.kernel.sysctl = {
"vm.swappiness" = lib.mkDefault 1;
};
services.fstrim.enable = lib.mkDefault true;
}