This exact problem is systematised in software and other infrastructure regions. Even hospitals for example have backup generators.
The problem is that power companies making resilient grids eats into their profits and so they won’t do it unless they’re compelled to
This seems kind of ideal though, computers provide a near constant load (relatively speaking) that combines very well with nuclear energy.
Perhaps we should be asking why we haven’t already been doing this for the past decade?