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
0cee376703
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 23:21:05 +00: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 08:04:03 +00:00
services
.
fstrim
.
enable
=
lib
.
mkDefault
true
;
treewide: abstract away common configs into common/
2017-12-24 23:21:05 +00:00
}
Reference in a new issue
Copy permalink