Files
infra/modules/clan/automatic-timezone/default.nix
kurogeek f5bfc1cc68 mob next [ci-skip] [ci skip] [skip ci]
lastFile:inventories/personal-computer.nix
2026-01-14 11:27:35 +07:00

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";
};
};
};
}