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
1 changed files with 2 additions and 0 deletions

View File

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