1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-27 05:19:43 +01:00

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 = { boot.kernel.sysctl = {
"vm.swappiness" = lib.mkDefault 1; "vm.swappiness" = lib.mkDefault 1;
}; };
services.fstrim.enable = lib.mkDefault true;
} }