system.fstrim: set interval to hourly

This commit is contained in:
陈浩南 2023-10-22 20:27:57 +08:00
parent 65bd74aa2d
commit ea4b2cbeb8

View File

@ -25,7 +25,7 @@ inputs:
ACTION=="add|change", KERNEL=="nvme[0-9]n[0-9]", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
'';
dbus.implementation = "broker";
fstrim.enable = true;
fstrim = { enable = true; interval = "daily"; };
};
time.timeZone = "Asia/Shanghai";
boot =