Update geoclue

This commit is contained in:
albert 2024-12-10 16:28:04 +01:00
parent 7eca98b173
commit cfe09c8955
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -1,7 +1,14 @@
{ lib, ... }: { { lib, ... }: {
services.geoclue2 = { services.geoclue2 = {
enable = true; enable = true;
enableWifi = true;
enable3G = true;
enableCDMA = true;
enableNmea = true;
enableModernGPS = true;
geoProviderUrl = "https://api.beacondb.net/v1/geolocate"; geoProviderUrl = "https://api.beacondb.net/v1/geolocate";
submissionUrl = "https://api.beacondb.net/v2/geosubmit";
submissionNick = "geoclue2-nixos";
}; };
location.provider = lib.mkDefault "geoclue2"; location.provider = lib.mkDefault "geoclue2";