dotfiles/modules/system/timezone.nix

12 lines
288 B
Nix
Raw Normal View History

{ ... }: {
2022-04-26 01:54:53 +00:00
# Service to determine location for time zone
services.geoclue2.enable = true;
2022-05-17 00:37:26 +00:00
services.geoclue2.enableWifi = false; # Breaks when it can't connect
location = { provider = "geoclue2"; };
2022-04-26 01:54:53 +00:00
# Enable local time based on time zone
services.localtime.enable = true;
2022-04-26 01:54:53 +00:00
}