lol

nixos/traefik: make group configurable for docker support (#34749)

authored by

Hamish and committed by
Jörg Thalheim
3a2b0cdf abfac62d

+11 -1
+11 -1
nixos/modules/services/web-servers/traefik.nix
··· 64 ''; 65 }; 66 67 package = mkOption { 68 default = pkgs.traefik; 69 defaultText = "pkgs.traefik"; ··· 87 ]; 88 Type = "simple"; 89 User = "traefik"; 90 - Group = "traefik"; 91 Restart = "on-failure"; 92 StartLimitInterval = 86400; 93 StartLimitBurst = 5;
··· 64 ''; 65 }; 66 67 + group = mkOption { 68 + default = "traefik"; 69 + type = types.string; 70 + example = "docker"; 71 + description = '' 72 + Set the group that traefik runs under. 73 + For the docker backend this needs to be set to <literal>docker</literal> instead. 74 + ''; 75 + }; 76 + 77 package = mkOption { 78 default = pkgs.traefik; 79 defaultText = "pkgs.traefik"; ··· 97 ]; 98 Type = "simple"; 99 User = "traefik"; 100 + Group = cfg.group; 101 Restart = "on-failure"; 102 StartLimitInterval = 86400; 103 StartLimitBurst = 5;