Geoclue2
services.geoclue2.appConfig
Specify extra settings per application.
Type: attribute set of (submodule)
Default
{ }
Example
"com.github.app" = {isAllowed = true;isSystem = true;users = [ "300" ];};
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.appConfig.<name>.desktopID
Desktop ID of the application.
Type: string
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.appConfig.<name>.isAllowed
Whether the application will be allowed access to location information.
Type: boolean
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.appConfig.<name>.isSystem
Whether the application is a system component or not.
Type: boolean
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.appConfig.<name>.users
List of UIDs of all users for which this application is allowed location info access, Defaults to an empty string to allow it for all users.
Type: list of string
Default
[ ]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.enable
Whether to enable GeoClue 2 daemon, a DBus service that provides location information for accessing.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.enable3G
Whether to enable 3G source.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.enableCDMA
Whether to enable CDMA source.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.enableDemoAgent
Whether to use the GeoClue demo agent. This should be overridden by desktop environments that provide their own agent.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.enableModemGPS
Whether to enable Modem-GPS source.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.enableNmea
Whether to fetch location from NMEA sources on local network.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.enableWifi
Whether to enable WiFi source.
Type: boolean
Default
true
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.geoProviderUrl
The url to the wifi GeoLocation Service.
Type: string
Default
"https://location.services.mozilla.com/v1/geolocate?key=geoclue"
Example
"https://www.googleapis.com/geolocation/v1/geolocate?key=YOUR_KEY"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.submissionNick
A nickname to submit network data with. Must be 2-32 characters long.
Type: string
Default
"geoclue"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.submissionUrl
The url to submit data to a GeoLocation Service.
Type: string
Default
"https://location.services.mozilla.com/v1/submit?key=geoclue"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix
services.geoclue2.submitData
Whether to submit data to a GeoLocation Service.
Type: boolean
Default
false
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/desktops/geoclue2.nix