The first generation were built to produce electricity and plutonium https://en.wikipedia.org/wiki/UNGG_reactor . Civilian-oriented version chosen later.
The civilian nuclear program started in earnest in 1974 with the Messmer plan, and that was based on the purely civilian Westinghouse reactors I mentioned.