mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #175330 from jtojnar/grafana-uid
nixos/grafana: Allow setting UID for datasource
This commit is contained in:
commit
7f9a78e197
@ -124,6 +124,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.";
|
||||
|
Loading…
Reference in New Issue
Block a user