cron service: fix reliance on etc.timezone

This does not fully address the issue, as cron will not restart when
the timezone is changed imperatively as it presumably needs to.

Changed files
+1 -1
nixos
modules
services
scheduling
+1 -1
nixos/modules/services/scheduling/cron.nix
···
fi
'';
-
restartTriggers = [ config.environment.etc.localtime.source ];
serviceConfig.ExecStart = "${cronNixosPkg}/bin/cron -n";
};
···
fi
'';
+
restartTriggers = [ config.time.timeZone ];
serviceConfig.ExecStart = "${cronNixosPkg}/bin/cron -n";
};