Is this a good way to modularize home manager home.nix for home/work?

Take a look at some of the example configs in this topic to get a feel for how it is done: