nixos/zfs: autoscrub only after boot is complete

Fixes #53583
wip/yesman
Linus Heckemann 5 years ago
parent 0dc4a9bb50
commit 783f2c84e8
  1. 1
      nixos/modules/tasks/filesystems/zfs.nix

@ -535,6 +535,7 @@ in
systemd.timers.zfs-scrub = {
wantedBy = [ "timers.target" ];
after = [ "multi-user.target" ]; # Apparently scrubbing before boot is complete hangs the system? #53583
timerConfig = {
OnCalendar = cfgScrub.interval;
Persistent = "yes";

Loading…
Cancel
Save