about summary refs log tree commit diff
path: root/machines/profpatsch
diff options
context:
space:
mode:
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