From 4489b24659d89a971afe770ad7f268ae222533fd Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Wed, 28 Aug 2024 05:37:18 +0700 Subject: [PATCH] fix timezones --- components/terminal/wtf.nix | 13 +++++++++---- components/timezone.nix | 3 ++- machines/cherry/configuration.nix | 1 + 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/components/terminal/wtf.nix b/components/terminal/wtf.nix index d22dfe0..ececdd1 100644 --- a/components/terminal/wtf.nix +++ b/components/terminal/wtf.nix @@ -115,8 +115,9 @@ let locations = { UTC = "Etc/UTC"; Berlin = "Europe/Berlin"; - Cuba = "America/Havana"; - Wellington = "Pacific/Auckland"; + Thailand = "Asia/Bangkok"; + #Cuba = "America/Havana"; + #Wellington = "Pacific/Auckland"; }; sort = "alphabetical"; refreshInterval = 60; @@ -291,12 +292,16 @@ let left = 0; }; - rates = wtfModule { + yfinance = wtfModule { type = "yfinance"; top = 3; left = 0; title = "rates"; - symbols = [ "EURUSD=X" "EURNZD=X" ]; + symbols = [ + "EURUSD=X" + "EURNZD=X" + "EURTHB=X" + ]; refreshInterval = 60; }; diff --git a/components/timezone.nix b/components/timezone.nix index e1f8027..994621f 100644 --- a/components/timezone.nix +++ b/components/timezone.nix @@ -1,7 +1,8 @@ +{ lib, ... }: { # some system stuff # ----------------- - time.timeZone = "Europe/Berlin"; + time.timeZone = lib.mkDefault "Europe/Berlin"; #time.timeZone = lib.mkDefault "Pacific/Auckland"; #time.timeZone = lib.mkDefault "Asia/Singapore"; #time.timeZone = lib.mkDefault "Asia/Makassar"; diff --git a/machines/cherry/configuration.nix b/machines/cherry/configuration.nix index 5e25c7a..53e53f8 100644 --- a/machines/cherry/configuration.nix +++ b/machines/cherry/configuration.nix @@ -16,6 +16,7 @@ ]; + time.timeZone = "Asia/Bangkok"; #clan.core.facts.services = # let