Move script from flake into its own file

I wondered the same thing. The wiki seems a good place, thanks for the suggestion @Solene! I’ve another issue that needs documeting, will start working on both on the next few days.