nixos/grafana: Allow setting UID for datasource
This commit is contained in:
@@ -109,6 +109,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.";
|
||||||
|
|||||||
Reference in New Issue
Block a user