nixos/grafana: Allow setting UID for datasource

This commit is contained in:
Jan Tojnar
2022-05-29 19:22:02 +02:00
parent 83658b28fe
commit 81291cc793

View File

@@ -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.";