20 lines
506 B
Nix
20 lines
506 B
Nix
{ ... }:
|
|
{
|
|
_class = "clan.service";
|
|
manifest.name = "automatic-timezone";
|
|
manifest.description = "Automatic Timezone, using geoclue2 to actually set the timezone";
|
|
manifest.categories = [ "System" ];
|
|
|
|
roles.default = {
|
|
perInstance.nixosModule =
|
|
{ lib, ... }:
|
|
{
|
|
services.automatic-timezoned.enable = true;
|
|
services.geoclue2 = {
|
|
enableDemoAgent = lib.mkForce true;
|
|
geoProviderUrl = "https://beacondb.net/v1/geolocate";
|
|
};
|
|
};
|
|
};
|
|
}
|