nix: automatically change timezone based on location

This commit is contained in:
Nico 2025-05-03 16:15:58 +10:00
parent 6c6564f231
commit 4e73914929

View file

@ -17,7 +17,8 @@
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
# Set your time zone. # Set your time zone.
time.timeZone = "Australia/Sydney"; time.timeZone = lib.mkDefault "Australia/Sydney";
services.automatic-timezoned.enable = true;
# Select internationalisation properties. # Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "en_US.UTF-8";