fix: make scrutiny available for all machines by using variables

This commit is contained in:
Ahwx 2025-03-22 23:02:00 +01:00
parent ee8aceb56e
commit b9977ffc6b

View file

@ -1,18 +1,16 @@
{ ... }: { config, ... }: {
{
services.scrutiny = { services.scrutiny = {
enable = true; enable = true;
collector.enable = true; collector.enable = true;
settings.web.listen.port = 8181; settings.web.listen.port = 8181;
settings.notify.urls = [ settings.notify.urls = [
"ntfy://notify.liv.town/violet" "ntfy://${config.liv.variables.ntfyURL}/${config.networking.hostName}"
]; ];
}; };
services.nginx.virtualHosts."scrutiny.liv.town" = { # services.nginx.virtualHosts."" = {
locations."/" = { # locations."/" = {
proxyPass = "http://localhost:8181/"; # proxyPass = "http://localhost:8181/";
}; # };
}; # };
} }