1

Services/Pulse: Add thinknix agent

This commit is contained in:
2025-12-01 20:19:32 +01:00
parent fbfc7236a1
commit 1f79a64804
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{
config,
lib,
pkgs,
...
}: let
pulseAgentThinknixVersion = "4.35.0";
in {
virtualisation.oci-containers.containers = {
pulse-agent-thinknix = {
image = "ghcr.io/rcourtman/pulse-docker-agent:${pulseAgentThinknixVersion}";
autoStart = true;
dependsOn = [
"pulse"
];
ports = [];
volumes = [
"/var/run/docker.sock:/var/run/docker.sock"
];
environment = {
PUID = "1000";
PGID = "1000";
TZ = "Europe/Berlin";
PULSE_URL = "https://pulse.think.chriphost.de";
PULSE_TOKEN = "6ab80ff7336a0cd7e0edcf3cd270a72bf6e075bcff337235ab011d1f70231e2f";
};
extraOptions = [
# "--privileged"
# "--device=nvidia.com/gpu=all"
"--net=behind-nginx"
"--pid=host"
"--uts=host"
];
};
};
}

View File

@ -21,6 +21,7 @@
../services/nginx-proxy-manager.nix ../services/nginx-proxy-manager.nix
../services/portainer.nix ../services/portainer.nix
../services/pulse.nix ../services/pulse.nix
../services/pulse-agent-thinknix.nix
../services/whats-up-docker.nix ../services/whats-up-docker.nix
]; ];