diff --git a/hosts/skipper/services/default.nix b/hosts/skipper/services/default.nix index c143fc6..621b092 100644 --- a/hosts/skipper/services/default.nix +++ b/hosts/skipper/services/default.nix @@ -2,6 +2,7 @@ imports = [ ./btrfs.nix ./dbus.nix + ./geoclue.nix ./keyd.nix ./pipewire.nix ./udev.nix diff --git a/hosts/skipper/services/geoclue.nix b/hosts/skipper/services/geoclue.nix new file mode 100644 index 0000000..ab7b20a --- /dev/null +++ b/hosts/skipper/services/geoclue.nix @@ -0,0 +1,13 @@ +_: { + location.provider = "geoclue2"; + services.geoclue2 = { + enable = true; + enable3G = false; + enableCDMA = false; + enableNmea = false; + enableWifi = true; + enableModemGPS = false; + enableDemoAgent = false; + geoProviderUrl = "https://beacondb.net/v1/geolocate"; + }; +}