From a2d8fcb9293d0c8b4e8de9882a083b888e6f9283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Numbus?= Date: Wed, 25 Feb 2026 22:03:23 +0100 Subject: [PATCH] Fixed bad path for Traefik configuration files. --- modules/global.nix | 6 +++--- modules/services/traefik.nix | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/global.nix b/modules/global.nix index d16844b..6060579 100644 --- a/modules/global.nix +++ b/modules/global.nix @@ -37,9 +37,9 @@ with lib; }; traefikDynamicConfigDir = mkOption { type = types.str; - default = "/traefik/rules"; - example = "/traefik/rules"; - description = "The directory where Traefik's dynamic configuration files will be stored, appended to /etc (i.e. to get /etc/traefik/rules as final path, enter /traefik/rules)"; + default = "traefik/rules"; + example = "traefik/rules"; + description = "The directory where Traefik's dynamic configuration files will be stored, appended to /etc/ (i.e. to get /etc/traefik/rules as final path, enter traefik/rules)"; }; }; diff --git a/modules/services/traefik.nix b/modules/services/traefik.nix index 3b52643..65c68ea 100644 --- a/modules/services/traefik.nix +++ b/modules/services/traefik.nix @@ -142,12 +142,14 @@ helper.mkPodmanService { enable.default = true; traefikStaticConfigDir = mkOption { type = types.str; - default = "/traefik"; - description = "The path of the directory containing Traefik's static configuration file, appended to /etc (i.e. to get /etc/traefik as final path, enter /traefik)"; + default = "traefik"; + example = "traefik"; + description = "The path of the directory containing Traefik's static configuration file, appended to /etc/ (i.e. to get /etc/traefik as final path, enter traefik)"; }; logLevel = mkOption { type = types.enum [ "TRACE" "DEBUG" "INFO" "WARN" "ERROR" "FATAL" ]; default = "ERROR"; + example = "ERROR"; description = "The level of detail Traefik should print in the logs."; }; # traefikDynamicConfigDir defined at global.nix