nix/nixos/common/services/geoclue.nix

12 lines
292 B
Nix
Raw Normal View History

2024-11-18 19:48:36 +01:00
{ lib, ... }: {
services.geoclue2 = {
enable = true;
2024-11-18 21:54:01 +01:00
geoProviderUrl = "https://api.beacondb.net/v1/geolocate";
2024-11-18 19:48:36 +01:00
};
location.provider = lib.mkDefault "geoclue2";
services.localtimed.enable = true;
services.automatic-timezoned.enable = true;
2024-11-18 21:54:01 +01:00
services.avahi.enable = true;
2024-11-18 19:48:36 +01:00
}