OTOH, once that Bolian ex-Maquis guy was de-gaussing the transporter array, and it was noted that it could be done way faster, but still apparently manually. So SOME cleaning / maintenance stuff still required some elbow grease, but the day to day cleaning of stuff aboard ship - which ANY Navy person will tell you occupies a fair chunk of their duty time - is taken care of by the ship itself.
Mark
Actually no... That type of degaussing was specifically ordered by Tuvok so he can give Chell some experience in handling the basics of training - or just to discipline him.
He also intentionally gave him a micro-tool as opposed to a magneton scanner, which resulted in Chell working for hours (as opposed to 5 minutes).
The type of work we're talking about would never have to be done by Humans or humanoids in general in Trek (because its ridiculously idiotic to waste time on something like that since it can be automated - they have beams that can sweep large areas and disintegrate/disassemble matter either into oblivion or just pure energy (which can later on be used to be converted into actual matter).
And for all we know, they probably never do... this was just Tuvok being hard on Chell due to specialized training.
I also recall a TNG episode where heavy use of warp drive required starships to be sweeped with a Baryon beam if I'm not mistaken... that beam disintegrates/removes all traces of organic matter upon contact.
My beef with Trek is that they made certain limits on the technology which are not realistic for that level of technology.
Such as ships not doing ALL of the repairs without the crew's intervention (unless the self-repair system itself suffered damage), or not being completely self sufficient (hello, these ships encounter star systems every week... energy can be easily gathered from stars, shuffled into the replicators, combined with transporters to enhance the pattern buffer, and replicate all of the things you need on a weekly basis without actually using the energy from the Warp core).
That's what bugged me about Voyager and Equinox and their supposed resource shortages... those were never realistic for their technology and capabilities.
As for nanites being used in repairs... possible but unlikely. Apart from certain medical uses, the Federation didn't seem to use nanite technology for starship construction or repairs.
Technically, we've seen one example of what proper use of transporters and replicators can do from Enterprise (NX-01).
The automated station swept an immediate area which dematerialized all of the damage and immediately replicated a new bulkhead.
THAT's what should be done... and it might actually be done off the screen by starships themselves (only without robotic arms - why bother when you can just use transporters to dematerialize the damaged area and then just rematerialize it in perfect condition - sure, you will expend some power doing it, but it would be much smaller than if you had to materialize the completely new bulkhead from scratch as opposed to using the damaged one for some energy return).