Merge pull request #109494 from ipetkov/nixos-zpool-trim-persistent-timer

nixos/zfs: make zpool-trim timer persistent

authored by Jörg Thalheim and committed by GitHub 21d78fa4 c2462bb3

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