diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index 795879c6764c..8983cd132c5a 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -765,10 +765,10 @@ in description = "ZFS pools scrubbing"; after = [ "zfs-import.target" ]; serviceConfig = { - Type = "oneshot"; + Type = "simple"; }; script = '' - ${cfgZfs.package}/bin/zpool scrub ${ + ${cfgZfs.package}/bin/zpool scrub -w ${ if cfgScrub.pools != [] then (concatStringsSep " " cfgScrub.pools) else