I need to check again, but linux geoclue is the standard way but I’m not sure how it’s done on SFOS
most Linux distros include [geoclue](https://gitlab.freedesktop.org/geoclue/geoclue) as a location backend. you can use beaconDB by overriding the URL used to request WiFi location data:
EDIT: the config for geoclue would be something like:
sudo tee > /etc/geoclue/conf.d/99-beacondb.conf <<EOF
[wifi]
enable=true
url=https://api.beacondb.net/v1/geolocate
# submit data, only possible with a GPS antenna
submit-data=true
submission-url=https://api.beacondb.net/v2/geosubmit
submission-nick=geoclue
EOF
sudo systemctl restart geoclue