Tips for taking the step from using a `nix-shell` for development to using `nix` in CI?

Might be interesting FYI: building Docker image with Nix