From 3e7762c10e66f7db5fdffad749de8a29dfd2fe7e Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Mon, 9 Dec 2024 22:48:03 -0600 Subject: [PATCH] carried over --- portainer.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portainer.nix b/portainer.nix index 2ced680..0fd0c70 100644 --- a/portainer.nix +++ b/portainer.nix @@ -1,4 +1,4 @@ -{ ... }: +{ config, ... }: { virtualisation.oci-containers.containers.portainer-agent = { image = "portainer/agent:latest"; # Use the latest Portainer agent image @@ -6,7 +6,7 @@ "9001:9001" # Expose the Portainer agent API port ]; volumes = [ - "/etc/zoneinfo/America/Chicago:/etc/localtime:ro" + "/etc/zoneinfo/${config.time.timeZone}:/etc/localtime:ro" "/var/run/docker.sock:/var/run/docker.sock" ]; };