Enableing docker starts cron which hangs shutdown process

Hi!

When I try to enable the docker daemon on NixOS using the following row in my nixos flake

virtualisation.docker.enable = true;

it causes root to launch cron with

cron -f

Then this for some reason does not want to be shut down by systemd during shutdown. So it locks on, waiting for that cron process to exit.

Any inputs to where to start debugging this?

EDIT: Never mind, it was a docker container that I had forgotten about that got run on every boot due to --restart-always. It was the cause of the cron command.