change location check to be for Australia

This commit is contained in:
Anish L 2021-09-12 01:31:42 +10:00
parent 8eef2f4549
commit 2a4ebff434

View file

@ -18,7 +18,7 @@ with lib;
time.timeZone = mkDefault "America/Toronto"; time.timeZone = mkDefault "America/Toronto";
i18n.defaultLocale = mkDefault "en_US.UTF-8"; i18n.defaultLocale = mkDefault "en_US.UTF-8";
# For redshift, mainly # For redshift, mainly
location = (if config.time.timeZone == "America/Toronto" then { location = (if config.time.timeZone == "Brisbane/Australia" then {
latitude = 43.70011; latitude = 43.70011;
longitude = -79.4163; longitude = -79.4163;
} else if config.time.timeZone == "Europe/Copenhagen" then { } else if config.time.timeZone == "Europe/Copenhagen" then {