@cryptotaxi247 / infra-1 / commits / fc3b0b85

haumea: disable fstrim

It's only trim-ing /boot, which is very unnecessary. The ZFS pool was not being trimmed, but now is via the zpool autotrim=on option. Ref #362.

Pierre Bourdon committed Feb 12, 2024 at 03:41 UTC fc3b0b852e0699e7f09335cbe4ddb4d89263032b
2 files changed -13
delft/fstrim.nix deleted
-12
@@ -1,12 +0,0 @@
1 -{ config, pkgs, ... }:
2 -
3 -{
4 -
5 - systemd.services.fstrim =
6 - { description = "Trim SSD Disks";
7 - serviceConfig.Type = "oneshot";
8 - serviceConfig.ExecStart = "${pkgs.utillinux}/bin/fstrim -a -v";
9 - startAt = "02:35";
10 - };
11 -
12 -}
delft/haumea.nix
-1
@@ -4,7 +4,6 @@
4 imports =
5 [ ./common.nix
6 # ./datadog.nix # error: psycopg2-2.9.1 not supported for interpreter python2.7
7 - ./fstrim.nix
7 ./haumea/network.nix
8 ];
9