remove anubis from nekomesh

This commit is contained in:
fi 2025-11-03 02:43:03 +01:00
commit 2147597a73
4 changed files with 1 additions and 18 deletions

View file

@ -1,12 +0,0 @@
{ config, ... }:
{
services.anubis = {
instances."nekomesh" = {
enable = true;
settings = {
TARGET = "http://${config.services.grafana.settings.server.http_addr}:${builtins.toString config.services.grafana.settings.server.http_port}";
SERVE_ROBOTS_TXT = true;
};
};
};
}

View file

@ -13,9 +13,5 @@
}; };
}; };
users.users.nginx = {
extraGroups = [ "anubis" ];
};
system.stateVersion = "25.11"; system.stateVersion = "25.11";
} }

View file

@ -1,7 +1,6 @@
{ ... }: { ... }:
{ {
imports = [ imports = [
./anubis.nix
./configuration.nix ./configuration.nix
./grafana.nix ./grafana.nix
./prometheus.nix ./prometheus.nix

View file

@ -19,7 +19,7 @@
} }
]; ];
locations."/" = { locations."/" = {
proxyPass = "http://unix:/run/anubis/anubis-nekomesh.sock"; proxyPass = "http://${config.services.grafana.settings.server.http_addr}:${builtins.toString config.services.grafana.settings.server.http_port}";
proxyWebsockets = true; proxyWebsockets = true;
}; };
extraConfig = '' extraConfig = ''