Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove prometheus and grafana for now

+17 -14
+17 -14
services.nix
··· 171 171 }; 172 172 }; 173 173 174 + # Minio's object storage has been mostly replaced with NATS. If I specifically need a 175 + # S3-like API, this will be revived. 174 176 services.minio = { 175 177 enable = false; 176 178 listenAddress = ":9003"; ··· 192 194 }; 193 195 194 196 services.grafana = { 195 - enable = true; 197 + enable = false; 196 198 settings.server.http_port = 2342; 197 - settings.server.domain = "grafana.packetlostandfound.us"; 199 + settings.server.domain = "grafana.packetlost.dev"; 198 200 settings.server.http_addr = "127.0.0.1"; 199 201 }; 200 202 201 203 services.prometheus = { 202 - enable = true; 204 + enable = false; 203 205 port = 9001; 204 206 exporters = { 205 207 node = { ··· 232 234 security.acme = { 233 235 acceptTerms = true; 234 236 defaults.email = "noah@packetlost.dev"; 235 - certs."plex.packetlostandfound.us" = { 236 - group = "httpd"; 237 - }; 238 - #certs."plex.packetlost.dev" = { 237 + #certs."plex.packetlostandfound.us" = { 239 238 # group = "httpd"; 240 239 #}; 240 + certs."plex.packetlost.dev" = { 241 + group = "httpd"; 242 + }; 241 243 #certs."ngp.computer" = { 242 244 # group = "httpd"; 243 245 #}; ··· 283 285 enable = true; 284 286 group = "httpd"; 285 287 286 - virtualHosts."${config.services.grafana.settings.server.domain}" = { 287 - locations."/" = { 288 - proxyPass = "http://127.0.0.1:${builtins.toString config.services.grafana.settings.server.http_port}"; 289 - proxyWebsockets = true; 290 - }; 291 - }; 288 + # This is disabled for now 289 + #virtualHosts."${config.services.grafana.settings.server.domain}" = { 290 + # locations."/" = { 291 + # proxyPass = "http://127.0.0.1:${builtins.toString config.services.grafana.settings.server.http_port}"; 292 + # proxyWebsockets = true; 293 + # }; 294 + #}; 292 295 293 296 # give a name to the virtual host. It also becomes the server name. 294 - virtualHosts."plex.packetlostandfound.us" = { 297 + virtualHosts."plex.packetlost.dev" = { 295 298 # Since we want a secure connection, we force SSL 296 299 forceSSL = true; 297 300 enableACME = true;