@cryptotaxi247 / infra-1 / commits / 68213b7f

eris: enable fstrim

The server runs on ext4 mdraid, we could also -o discard but this is easier to setup and good enough. Long term this should be moved to ZFS with autotrim or something along those lines to match other configs. Fixes #362.

Pierre Bourdon committed Feb 12, 2024 at 03:42 UTC 68213b7ff6f1580e2ec249e8438ad7631d66379f
1 file changed +2
delft/eris.nix
+2
@@ -42,6 +42,8 @@ in
42
43 systemd.units."mdmonitor.service".enable = false;
44
45 + services.fstrim.enable = true;
46 +
47 services.nix-netboot-serve = {
48 enable = true;
49 listen = "127.0.0.1:3001";