From 33117f2b4570dc0169467fad9c0590ec37f5dc23 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 29 Dec 2020 21:23:20 +0000 Subject: [PATCH] totoro: don't prepend GF_ to grafana extraConfig --- ops/nixos/totoro/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/nixos/totoro/default.nix b/ops/nixos/totoro/default.nix index 32a7cef957..7caa231d77 100644 --- a/ops/nixos/totoro/default.nix +++ b/ops/nixos/totoro/default.nix @@ -214,7 +214,7 @@ in { extraOptions = let convertName = name: lib.toUpper (builtins.replaceStrings ["." "-"] ["_" "_"] name); - convertOptionSection = sectionName: lib.mapAttrsToList (name: value: { name = "GF_${convertName sectionName}_${convertName name}"; inherit value; }); + convertOptionSection = sectionName: lib.mapAttrsToList (name: value: { name = "${convertName sectionName}_${convertName name}"; inherit value; }); convertOptions = opts: builtins.listToAttrs (builtins.concatLists (lib.mapAttrsToList convertOptionSection opts)); in convertOptions { "auth.proxy" = {