Subject: [PATCH] services: Use beaconDB as location provider in geoclue.

From: Jonathan Brielmaier <[email-masked]>
Date: Wed, 29 Jan 2025 17:04:49 +0100

The previous used Mozilla Location Service (MLS) was retired in 2024:
https://github.com/mozilla/ichnaea/issues/2065

* gnu/services/desktop.scm (<geoclue-configuration>)
[wifi-geolocation-url]: Switch default provider to beaconDB.
[wifi-submission-url]: Dito.

Change-Id: I95e4600a2d5454bdde4be44b09273694536bd44e
---
 gnu/services/desktop.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm
index e5446561822..b01e7faa301 100644
--- a/gnu/services/desktop.scm
+++ b/gnu/services/desktop.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2023 Zheng Junjie <[email-masked]>
 ;;; Copyright © 2024 45mg <[email-masked]>
 ;;; Copyright © 2024 Raven Hallsby <[email-masked]>
+;;; Copyright © 2025 Jonathan Brielmaier <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -374,12 +375,12 @@ (define-record-type* <geoclue-configuration>
   (wifi-geolocation-url
    geoclue-configuration-wifi-geolocation-url
    ;; Mozilla geolocation service:
-   (default "https://location.services.mozilla.com/v1/geolocate?key=geoclue"))
+   (default "https://api.beacondb.net/v1/geolocate"))
   (submit-data? geoclue-configuration-submit-data?
                 (default #f))
   (wifi-submission-url
    geoclue-configuration-wifi-submission-url
-   (default "https://location.services.mozilla.com/v1/submit?key=geoclue"))
+   (default "https://api.beacondb.net/v2/geosubmit"))
   (submission-nick geoclue-configuration-submission-nick
                    (default "geoclue"))
   (applications geoclue-configuration-applications

base-commit: ac103c2eab1a169ca18c88fd0b0d03c7d2e02c9d
--
2.47.1