From ba451ca427b16af73ae058e6d422a6c290ebbaf3 Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Tue, 13 Sep 2022 16:52:48 +0000 Subject: [PATCH] Add docs: Why do we have our own Grafana service definition --- nixos/modules/monitoring/server/grafana-service.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixos/modules/monitoring/server/grafana-service.nix b/nixos/modules/monitoring/server/grafana-service.nix index b86efa91..fd4055ee 100644 --- a/nixos/modules/monitoring/server/grafana-service.nix +++ b/nixos/modules/monitoring/server/grafana-service.nix @@ -1,3 +1,15 @@ +# This is the NixOS 21.11 Grafana service definition module +# with the backported UID setting for data sources, so that +# we can have the same dashboards in our dev, test and prod +# environments. +# +# The change from nixpkgs 81291cc793cf88bd6eff3fd8512e5eb9d037066c +# will land in NixOS 22.11. +# +# When upgrading PrivateStorageio to 22.05, this file will +# need an upgrade too. When upgrading PrivateStorageio to +# 22.11, it can be removed. + { options, config, lib, pkgs, ... }: with lib; -- GitLab