diff options
Diffstat (limited to 'nixpkgs/nixos/modules/services/monitoring/grafana-reporter.nix')
-rw-r--r-- | nixpkgs/nixos/modules/services/monitoring/grafana-reporter.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixpkgs/nixos/modules/services/monitoring/grafana-reporter.nix b/nixpkgs/nixos/modules/services/monitoring/grafana-reporter.nix index 893c15d568bd..e40d78f538fa 100644 --- a/nixpkgs/nixos/modules/services/monitoring/grafana-reporter.nix +++ b/nixpkgs/nixos/modules/services/monitoring/grafana-reporter.nix @@ -41,8 +41,9 @@ in { templateDir = mkOption { description = "Optional template directory to use custom tex templates"; - default = "${pkgs.grafana_reporter}"; - type = types.str; + default = pkgs.grafana_reporter; + defaultText = literalExpression "pkgs.grafana_reporter"; + type = types.either types.str types.path; }; }; |