This reverts commit 7c251e2b5f. Left out eec21001b0, which changed nixos/nixpkgs, doing it differently this time.
7c251e2b5f
eec21001b0