about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-13 14:22:55 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-13 14:22:55 -0700
commite3871caee1d2520e12177daa61c06e9f2536a368 (patch)
tree80ee2bd6045ae96d805b18700e9917dbb644da8f /modules
parenttraefik: remove the module (diff)
downloadworld-e3871caee1d2520e12177daa61c06e9f2536a368.tar.gz
nginx: install the default dashboard
Diffstat (limited to '')
-rw-r--r--modules/services/nginx/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/services/nginx/default.nix b/modules/services/nginx/default.nix
index 9fb5cbd..2b90f43 100644
--- a/modules/services/nginx/default.nix
+++ b/modules/services/nginx/default.nix
@@ -39,5 +39,11 @@ in {
         }];
       }];
     };
+
+    services.grafana.provision.dashboards = {
+      name = "NGINX";
+      options.path = pkgs.nur.repos.alarsyo.grafanaDashboards.nginx;
+      disableDeletion = true;
+    };
   };
 }