mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-07 19:15:36 +03:00
nixos/grafana: Allow setting UID for datasource
This commit is contained in:
parent
83658b28fe
commit
81291cc793
1 changed files with 5 additions and 0 deletions
|
@ -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.";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue