big refactor

This commit is contained in:
John Lancaster
2024-12-18 00:52:36 -06:00
parent f36c1b1188
commit e80a85c490
17 changed files with 422 additions and 483 deletions

View File

@@ -0,0 +1,13 @@
{ config, ... }:
{
virtualisation.oci-containers.containers.portainer-agent = {
image = "portainer/agent:latest"; # Use the latest Portainer agent image
ports = [
"9001:9001" # Expose the Portainer agent API port
];
volumes = [
"/etc/zoneinfo/${config.time.timeZone}:/etc/localtime:ro"
"/var/run/docker.sock:/var/run/docker.sock"
];
};
}