diff --git a/nixos/modules/monitoring/server/grafana-service.nix b/nixos/modules/monitoring/server/grafana-service.nix index 5067047e9690e2384b643e74268c847111e4bb37..b86efa910084e3d147a4097e8b327ef7070d8e0b 100644 --- a/nixos/modules/monitoring/server/grafana-service.nix +++ b/nixos/modules/monitoring/server/grafana-service.nix @@ -109,6 +109,11 @@ let default = 1; description = "Org id. will default to orgId 1 if not specified."; }; + uid = mkOption { + type = types.nullOr types.str; + default = null; + description = "Custom UID which can be used to reference this datasource in other parts of the configuration, if not specified will be generated automatically."; + }; url = mkOption { type = types.str; description = "Url of the datasource.";