Skip to content

Commit

Permalink
change precedence of default config and extra config
Browse files Browse the repository at this point in the history
  • Loading branch information
conscious-puppet committed Feb 22, 2024
1 parent 6a549d5 commit 76f355d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/grafana/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ in
processes."${name}" =
let
grafanaConfig = lib.recursiveUpdate
config.extraConf
{
server = {
inherit (config) protocol http_port domain;
};
};
}
config.extraConf;
grafanaConfigIni = iniFormat.generate "defaults.ini" grafanaConfig;
startScript = pkgs.writeShellApplication {
name = "start-grafana";
Expand Down

0 comments on commit 76f355d

Please sign in to comment.