For non-syncing from your config above, connect, listen, and maxconnection should be enough to make your core not sync online.
But since this is an air gap, why not completely disable the wifi and disconnect it forever from the internet? You don't need to configure it unless you still want the device to be connected online.
An air gap device should be completely disconnected from any network. If you are planning to connect it in the future, then. That's not an air gap device.
Yes, everything is turned off, no wifi card or ethernet, I just want to disable the network activity so the node stops trying to download blocks.
-networkactive=0, but -connect=0 should be sufficient to not have any p2p network activity.
Yeah, this did it, now the icon shows it's not enabled and
getnetworkinfo says false on "networkactive". What I was hopping is that it could stop trying to look for peers, but on the lower left it still says "Connecting to peers...". Does this stay in this permanent state of trying to ping for peers? I feel like there may be resources being wasted with the software trying to do something all the time, looking for an internet connection. Maybe there should be an -airgap mode or something, designed for people that use an airgap setup with 2 computers, like a way to automatically tell the software to stop anything under the radar that may be trying to still do something but it can't due lack of internet connection, such as for instance this message of "Connecting to peers..." that I assume it means it's trying to connect to peers. Maybe this airgap mode could actually refuse to start the software if it detects an internet connection, in case you do something stupid like accidentally connecting an ethernet cable into the wrong laptop, something dumb like that you may accidentally do, you never know, so that's just another layer of protection at the software level.