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