11 lines
256 B
Nix
11 lines
256 B
Nix
|
{ lib, ... }: {
|
||
|
services.geoclue2 = {
|
||
|
enable = true;
|
||
|
geoProviderUrl = "https://beacondb.net/v1/geolocate";
|
||
|
};
|
||
|
|
||
|
location.provider = lib.mkDefault "geoclue2";
|
||
|
services.localtimed.enable = true;
|
||
|
services.automatic-timezoned.enable = true;
|
||
|
}
|