diff --git a/nixos/common/services/podman.nix b/nixos/common/services/podman.nix index 8cd8ff26..a9cd3821 100644 --- a/nixos/common/services/podman.nix +++ b/nixos/common/services/podman.nix @@ -24,6 +24,8 @@ ]; # Add the docker telegraf listener - services.telegraf.extraConfig.inputs.docker = {}; + services.telegraf.extraConfig.inputs.docker = { + endpoint = "unix:///sys/fs/cgroup/system.slice/podman.socket"; + }; users.users.telegraf.extraGroups = [ "podman" ]; }