From 6a516d63fce709eeffb8c56ef07acb2af641fc69 Mon Sep 17 00:00:00 2001 From: Spotlight Date: Sun, 16 Mar 2025 17:53:51 -0400 Subject: [PATCH] linux: Use beacondb.net for geolocation --- hosts/linux/shared.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/linux/shared.nix b/hosts/linux/shared.nix index d0f4ace..b3f1bf6 100644 --- a/hosts/linux/shared.nix +++ b/hosts/linux/shared.nix @@ -68,7 +68,12 @@ # we'll use geolocation via the Arch Linux API key. geoclue2 = { enable = true; - geoProviderUrl = "https://www.googleapis.com/geolocation/v1/geolocate?key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM"; + geoProviderUrl = "https://api.beacondb.net/v1/geolocate"; + + # Let's be generous :) + submitData = true; + submissionUrl = "https://api.beacondb.net/v2/geosubmit"; + submissionNick = "geoclue"; }; };