From ffbd7a221d7f19c8e5dc7bf4ab396f9aa458ce7e Mon Sep 17 00:00:00 2001 From: UGA Innovation Factory Date: Fri, 30 Jan 2026 22:00:15 +0000 Subject: [PATCH] Set default timezone for LXC containers to fix Docker /etc/localtime mounts --- hw/nix-lxc.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/nix-lxc.nix b/hw/nix-lxc.nix index a47aeea..3dcc45e 100644 --- a/hw/nix-lxc.nix +++ b/hw/nix-lxc.nix @@ -47,6 +47,9 @@ in disko.enableConfig = lib.mkForce false; # No disk management in container console.enable = true; + # Set timezone to fix /etc/localtime for Docker containers + time.timeZone = lib.mkDefault "America/New_York"; + # Allow getty to work in containers systemd.services."getty@".unitConfig.ConditionPathExists = [ ""