From 7703d2f1b41b9c6d73a5f511ad21c6d34650ca1a Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Sat, 14 Feb 2026 10:28:32 +0100 Subject: [PATCH] remove unused traefik docker provider --- modules/traefik.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/modules/traefik.nix b/modules/traefik.nix index d4dd555..f739e7c 100644 --- a/modules/traefik.nix +++ b/modules/traefik.nix @@ -3,7 +3,7 @@ # CF_API_EMAIL=your-email@example.com # CF_DNS_API_TOKEN=your-cloudflare-api-token -{ config, pkgs, lib, ... }: +{ ... }: { services.traefik = { @@ -13,11 +13,6 @@ dynamic.dir = "/var/lib/traefik/dynamic"; static.settings = { - providers.docker = { - endpoint = "unix:///var/run/docker.sock"; - exposedByDefault = false; - network = "podman"; - }; entryPoints = { http = { address = ":80"; @@ -67,8 +62,4 @@ environmentFiles = [ "/etc/traefik-env" ]; }; - systemd.services.traefik.serviceConfig = { - SupplementaryGroups = [ "podman" ]; - BindPaths = [ "/run/podman/podman.sock:/var/run/docker.sock" ]; - }; }