about summary refs log tree commit diff
path: root/machines/profpatsch
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2022-06-26 19:44:50 +0200
committerProfpatsch <mail@profpatsch.de>2022-06-26 19:44:50 +0200
commitbaf560762358fd2fea174c1629afa3d4f5045d71 (patch)
treec30c5a765aec3ab434a9dadb3e01d28cc84a9038 /machines/profpatsch
parent521cb84036162ee3348c7204f9e0947a0ca94608 (diff)
machines/Profpatsch/base: explicitly set "UTC" as timezone
Diffstat (limited to 'machines/profpatsch')
-rw-r--r--machines/profpatsch/base-workstation.nix4
-rw-r--r--machines/profpatsch/base.nix3
2 files changed, 5 insertions, 2 deletions
diff --git a/machines/profpatsch/base-workstation.nix b/machines/profpatsch/base-workstation.nix
index 6d375d77..69318d94 100644
--- a/machines/profpatsch/base-workstation.nix
+++ b/machines/profpatsch/base-workstation.nix
@@ -14,6 +14,8 @@ in {
 
   config = {
 
+    time.timeZone = "Europe/Paris";
+
     networking = {
       # better for untrusted networks
       firewall = {
@@ -136,8 +138,6 @@ in {
 
     # services.openssh.enable = true;
 
-    time.timeZone = "Europe/Paris";
-
     vuizvui.programs.fish.fasd.enable = true;
 
     ########
diff --git a/machines/profpatsch/base.nix b/machines/profpatsch/base.nix
index 9abb0a3c..d177edb5 100644
--- a/machines/profpatsch/base.nix
+++ b/machines/profpatsch/base.nix
@@ -17,6 +17,9 @@ in
     # /tmp should never be depended on
     boot.cleanTmpDir = true;
 
+    # Setting it to UTC explicitely makes it impossible to override at runtime
+    time.timeZone = lib.mkDefault "UTC";
+
     # the kernel OOM is not good enough without swap,
     # and I don’t like swap. This kills the most hoggy
     # processes when the system goes under a free space limit