Just ordering yourself after network-online.target will not guarantee that it will be loaded. You'll have to either want or require it. Hence the following trace on recent nixpkgs versions: evaluation warning: hydra-queue-runner.service is ordered after 'network-online.target' but doesn't depend on it