Jump to content

Geoclue: Difference between revisions

From Official NixOS Wiki
Phobos (talk | contribs)
Created a page for Geoclue
 
(No difference)

Latest revision as of 04:57, 28 November 2025

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";
};