diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index dcd83094b09..1d661eae827 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -767,10 +767,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