From 4ae833c410b6c84fdfcff42387f3aa9fcc8cd2bd Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 9 Dec 2023 21:07:05 -0800 Subject: [PATCH] 'grafana' is under 'services' --- grafana.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grafana.nix b/grafana.nix index b926b10..8a86e22 100644 --- a/grafana.nix +++ b/grafana.nix @@ -65,18 +65,18 @@ in { description = "Host of the OAuth server."; }; - oauth.client-id = mkOption { + client-id = mkOption { type = str; description = "Path to file containing the Grafana OAuth client ID."; }; - oauth.client-secret = mkOption { + client-secret = mkOption { type = str; description = "Path to file containing the Grafana OAuth client secret."; }; - oauth.slug = mkOption { + slug = mkOption { type = str; description = "The application slug on the OAuth server."; }; @@ -88,7 +88,7 @@ in { }; config = mkIf cfg.enable { - grafana = { + services.grafana = { enable = true; dataDir = "${cfg.state-directory}/data"; settings = {