remove netdata
This commit is contained in:
parent
f51d625422
commit
26c05010d7
4 changed files with 0 additions and 32 deletions
|
@ -2,7 +2,6 @@
|
|||
conf = {
|
||||
ssh.enable = true;
|
||||
nginx.enable = true;
|
||||
netdata.enable = true;
|
||||
mail.enable = false; # broken
|
||||
website.enable = true;
|
||||
fedi.enable = true;
|
||||
|
|
|
@ -13,7 +13,6 @@ in {
|
|||
./layout
|
||||
./mail
|
||||
./matrix
|
||||
./netdata
|
||||
./networking
|
||||
./nginx
|
||||
./niri
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
{ lib, pkgs, config, ... }: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config) conf;
|
||||
in mkIf conf.netdata.enable {
|
||||
services.nginx = {
|
||||
virtualHosts = {
|
||||
"netdata.twoneis.site" = {
|
||||
useACMEHost = "twoneis.site";
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:19999";
|
||||
proxyWebsockets = true;
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.netdata = {
|
||||
enable = true;
|
||||
package = pkgs.netdata.override { withCloudUi = true; };
|
||||
config.global = {
|
||||
"memory mode" = "ram";
|
||||
"debug log" = "none";
|
||||
"access log" = "none";
|
||||
"error log" = "syslog";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -18,7 +18,6 @@ in {
|
|||
# Generally server options
|
||||
ssh.enable = mkEnableOption "Install my public key to allow accessing this machine via ssh.";
|
||||
nginx.enable = mkEnableOption "Enable nginx. All the following options expect this to be enabled.";
|
||||
netdata.enable = mkEnableOption "Enable netdata monitoring tool.";
|
||||
mail.enable = mkEnableOption "Enable mail server.";
|
||||
website.enable = mkEnableOption "Serve website through nginx.";
|
||||
fedi.enable = mkEnableOption "Host a fedi server on this machine.";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue