Configuration

Geoclue is a D-Bus geoinformation service. Option can be found under services.geoclue2.

Example configuration:

❄︎ /etc/nixos/configuration.nix
# Set Geoclue as the default location provider
location.provider = "geoclue2";

# Enable Geoclue
services.geoclue2 = {
  enable = true;
    # if using beaconDB
    # geoProviderUrl = "https://api.beacondb.net/v1/geolocate";
};