This website requires JavaScript.
Explore
Help
Sign In
aires
/
nixos-hardware
Watch
1
Star
0
Fork
You've already forked nixos-hardware
0
Code
Issues
Pull requests
Actions
Packages
Projects
Releases
Wiki
Activity
f752581d67
nixos-hardware
/
common
/
pc
/
ssd
/
default.nix
6 lines
66 B
Nix
Raw
Normal View
History
Unescape
Escape
treewide: abstract away common configs into common/
2017-12-24 18:21:05 -05:00
{
lib
,
.
.
.
}:
{
enable fstrim on SSDs This will run TRIM once a week using a systemd timer. Running TRIM regularly will improves the performance and increases the SSDs lifespan. Since it is based on the utillinux no additional package is required.
2019-07-23 04:04:03 -04:00
services
.
fstrim
.
enable
=
lib
.
mkDefault
true
;
treewide: abstract away common configs into common/
2017-12-24 18:21:05 -05:00
}
Reference in a new issue
Copy permalink