From 0e16da4c45e30361d871f36244a154a5b6d71522 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 10 Feb 2023 10:15:37 +0800 Subject: [PATCH] profiles/server: set UTC as the preferred timezone --- modules/nixos/profiles/server.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/nixos/profiles/server.nix b/modules/nixos/profiles/server.nix index 6c82167d..4eaec7f8 100644 --- a/modules/nixos/profiles/server.nix +++ b/modules/nixos/profiles/server.nix @@ -25,6 +25,11 @@ in ''; }]; + # Set the time zone. We're making it easier to track by assigning a + # universal time zone and what could be more universal than the + # "Coordinated Universal Time" (which does not abbreviates to UTC, WTF?). + time.timeZone = "UTC"; + # Most servers will have to be accessed for debugging so it is here. But # be sure to set the appropriate public keys for the users from that # server.