diff --git a/flakes/common/nix_modules/timezone_auto.nix b/flakes/common/nix_modules/timezone_auto.nix index 8b54b213..d73258e8 100644 --- a/flakes/common/nix_modules/timezone_auto.nix +++ b/flakes/common/nix_modules/timezone_auto.nix @@ -1,4 +1,17 @@ +{ lib, ... }: { + services.dbus.enable = lib.mkDefault true; + time.timeZone = null; services.automatic-timezoned.enable = true; + + systemd.services.automatic-timezoned = { + after = [ "dbus.socket" "systemd-timedated.service" ]; + wants = [ "dbus.socket" "systemd-timedated.service" ]; + }; + + systemd.services.automatic-timezoned-geoclue-agent = { + after = [ "dbus.socket" ]; + wants = [ "dbus.socket" ]; + }; }