mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
feat: remove leftover invalid paperless monitor, add grafana dashboard
This commit is contained in:
parent
611a64fb49
commit
cb4f4f251f
6 changed files with 938 additions and 14 deletions
|
@ -2,6 +2,7 @@
|
|||
config,
|
||||
globals,
|
||||
nodes,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
wardWebProxyCfg = nodes.ward-web-proxy.config;
|
||||
|
@ -235,6 +236,19 @@ in {
|
|||
secureJsonData.basicAuthPassword = "$__file{${config.age.secrets.grafana-loki-basic-auth-password.path}}";
|
||||
}
|
||||
];
|
||||
dashboards.settings.providers = [
|
||||
{
|
||||
name = "default";
|
||||
options.path = pkgs.stdenv.mkDerivation {
|
||||
name = "grafana-dashboards";
|
||||
src = ./grafana-dashboards;
|
||||
installPhase = ''
|
||||
mkdir -p $out/
|
||||
install -D -m755 $src/*.json $out/
|
||||
'';
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue