I think it would be the main generator powered by the steam is generating ac and the ac is used to run the engines and is converted to dc as needed to run the equipment and charge the batteries. I suppose if you wanted really quiet operating conditions, the main ac generator would be off and everything would run off the batteries with inverters providing higher dc voltages and ac where needed.
Tried searching "is the steam powered ac generator in a nuclear submarine always running" and this article came up,
Fast Attacks and Boomers, Submarines in the cold war In this article it says the submarine propellers are powered directly by steam from the reactor. It is a mechanical system. The newest design,
Columbia Class, uses all electric motor propulsion system. The mechanical propulsion version uses 80 percent of the total power generated by the reactor, so switching to electric drive allows more reactor power towards other uses besides propulsion. The Columbia article doesn't say if the propulsion motors are AC or DC.
If the propulsion system uses 80 percent of the reactor power, I'm not sure that it would get very far running off the batteries for propulsion.
One of the uses of the generated electricity is to produce oxygen, something I hadn't thought about.
The newer submarines don't use propellers, which I didn't know, they use propulsers, which are quieter but resulted in a loss in surface maneuverability. The new Columbia class has a X shaped stern which makes them more maneuverable.
I don't think a DC generator would be a primary power device in a submarine. I think AC generators are more versatile and have a better contact system that requires less maintenance and are probably more reliable.