Update geoclue
This commit is contained in:
parent
7eca98b173
commit
cfe09c8955
1 changed files with 7 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue