This website requires JavaScript.
Explore
Help
Sign in
eeva
/
nixos-hardware
Watch
1
Star
0
Fork
You've already forked nixos-hardware
0
mirror of
https://github.com/NixOS/nixos-hardware
synced
2024-11-27 13:29:43 +01:00
Code
Issues
Releases
Wiki
Activity
11d92d2444
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-25 00:21:05 +01: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 10:04:03 +02:00
services
.
fstrim
.
enable
=
lib
.
mkDefault
true
;
treewide: abstract away common configs into common/
2017-12-25 00:21:05 +01:00
}
Reference in a new issue
Copy permalink