Merge pull request #175330 from jtojnar/grafana-uid

nixos/grafana: Allow setting UID for datasource
This commit is contained in:
Maximilian Bosch 2022-06-13 07:01:19 +02:00 committed by GitHub
commit 7f9a78e197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,11 @@ let
default = 1; default = 1;
description = "Org id. will default to orgId 1 if not specified."; 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 { url = mkOption {
type = types.str; type = types.str;
description = "Url of the datasource."; description = "Url of the datasource.";