diff options
author | Linus Heckemann <git@sphalerite.org> | 2019-01-14 20:55:37 +0100 |
---|---|---|
committer | Linus Heckemann <git@sphalerite.org> | 2019-01-14 21:00:20 +0100 |
commit | 783f2c84e863e6d98c5f20d83d8aa10c87e2083e (patch) | |
tree | 27b526365024ad5337cc2766dca855f231301d7b /nixos/modules/tasks/filesystems | |
parent | 0dc4a9bb5007201376548c2448ccbc04419b2563 (diff) |
nixos/zfs: autoscrub only after boot is complete
Fixes #53583
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r-- | nixos/modules/tasks/filesystems/zfs.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index 8f8c9e23e13e..37a19fb9fc8c 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/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"; |