My favorite Linux layout was US International + AltGr dead keys. Basically a US keyboard, but if you want an accented character, just press the AltGr+Accent key, then the letter.
I got the same behavior on macOS by using https://github.com/carjorvaz/macos-us-altgr-intl/blob/master...