about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-04-17T06·27+0200
committergrfn <grfn@gws.fyi>2021-04-17T06·33+0000
commite1c45be3f58f5ae139439994b8d72f7d58c5c895 (patch)
treed373be0932c625e393cc45a4ee0aaebb2234c363
parentbb69d129d35e7bd22fa414a485f2de9b5c0ddecc (diff)
feat(grfn/yeren): Set timezone to Africa/Cairo r/2521
\o/

Change-Id: Ia456e044c48eee095408efc9f6b802b4337ea09f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3026
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/grfn/system/system/machines/yeren.nix2
-rw-r--r--users/grfn/system/system/modules/common.nix2
2 files changed, 3 insertions, 1 deletions
diff --git a/users/grfn/system/system/machines/yeren.nix b/users/grfn/system/system/machines/yeren.nix
index a44d73ed0466..1bd2ea9873a6 100644
--- a/users/grfn/system/system/machines/yeren.nix
+++ b/users/grfn/system/system/machines/yeren.nix
@@ -17,6 +17,8 @@
 
   system.stateVersion = "21.03";
 
+  time.timeZone = "Africa/Cairo";
+
   boot = {
     initrd = {
       availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
diff --git a/users/grfn/system/system/modules/common.nix b/users/grfn/system/system/modules/common.nix
index 727b450555f5..9662f255b679 100644
--- a/users/grfn/system/system/modules/common.nix
+++ b/users/grfn/system/system/modules/common.nix
@@ -19,7 +19,7 @@ with lib;
     defaultLocale = "en_US.UTF-8";
   };
 
-  time.timeZone = "America/New_York";
+  time.timeZone = lib.mkDefault "America/New_York";
 
   environment.systemPackages = with pkgs; [
     wget