···664 # - There are only HDDs and we would set the system in a degraded state
665 serviceConfig.ExecStart = ''${pkgs.runtimeShell} -c 'for pool in $(zpool list -H -o name); do zpool trim $pool; done || true' '';
666 };
00667 })
668 ];
669}
···664 # - There are only HDDs and we would set the system in a degraded state
665 serviceConfig.ExecStart = ''${pkgs.runtimeShell} -c 'for pool in $(zpool list -H -o name); do zpool trim $pool; done || true' '';
666 };
667+668+ systemd.timers.zpool-trim.timerConfig.Persistent = "yes";
669 })
670 ];
671}