Personally all my Linux machines use Adobe Source Sans as the default font, but Inter would be my replacement for San Francisco.
With Inter, I'd probably use Hack, an update on the great DejaVu Mono which was also the source of Apple's Menlo, their previous default. It shares some features with Inter like a single-story g.