Files
nixos-config/servers/hetzner/modules/services/watchtower.nix
T
jory c5f771bd53
CI / Formatting check (x86_64-linux) (push) Has been cancelled
CI / Flake check (aarch64-linux) (push) Has been cancelled
CI / Flake check (x86_64-linux) (push) Has been cancelled
CI / Formatting check (aarch64-linux) (push) Has been cancelled
Added hetzner server configs
2026-07-11 20:28:51 +02:00

23 lines
514 B
Nix

{
config,
pkgs,
lib,
...
}: {
virtualisation.oci-containers.containers.watchtower = {
image = "ghcr.io/nicholas-fedor/watchtower:latest";
autoStart = true;
volumes = [
"/var/run/podman/podman.sock:/var/run/docker.sock:ro"
];
environment = {
WATCHTOWER_CLEANUP = "true";
WATCHTOWER_POLL_INTERVAL = "86400";
WATCHTOWER_INCLUDE_STOPPED = "true";
WATCHTOWER_REVIVE_STOPPED = "true";
TZ = "Europe/Amsterdam";
};
cmd = ["--label-enable"];
};
}