From 6cd9c91c38a2154605d5f5e7bfc5788956e7cd3a Mon Sep 17 00:00:00 2001 From: ashisgreat22 Date: Sat, 21 Mar 2026 16:54:07 +0000 Subject: [PATCH] fix: add nginx dependency and documentation to Netdata module - Add missing nginx dependency declaration - Add trailing newline at end of file - Document why contentSecurityPolicy is set to null --- modules/netdata.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/netdata.nix b/modules/netdata.nix index 9084527..7e3738c 100644 --- a/modules/netdata.nix +++ b/modules/netdata.nix @@ -36,6 +36,8 @@ in }; config = lib.mkIf cfg.enable { + myModules.nginx.enable = true; # Ensure nginx is enabled + services.netdata = { enable = true; config = { @@ -49,7 +51,8 @@ in myModules.nginx.domains.${cfg.domain} = { port = cfg.port; internalOnly = true; - contentSecurityPolicy = null; + contentSecurityPolicy = null; # Netdata dashboard has its own CSP requirements, cannot be overridden }; }; + } \ No newline at end of file