Setting the default staff size is straightforward, but I no longer can remember how to set the default text size in the 2.24.x series (and I didn't succeed in looking it up in the `lilypond-user` archive).
I seem to recall you can fiddle with the scaling factor in set-global-fonts: \paper { #(define fonts (set-global-fonts #:roman "Linux Libertine O" #:sans "Nimbus Sans, Nimbus Sans L" #:typewriter "DejaVu Sans Mono" ; unnecessary if the staff size is default #:factor (/ staff-height pt 20) )) }Paul