After=network.target is a shutdown directive
After=network.target is everywhere in nixpkgs, and it doesn't do what most people think it does. A quick and dirty survey of how NixOS services order themselves around the network, and a few VM tests of what that ordering actually buys you.
Savyasachee Jha