mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
fix: make scrutiny available for all machines by using variables
This commit is contained in:
parent
ee8aceb56e
commit
b9977ffc6b
1 changed files with 7 additions and 9 deletions
|
|
@ -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/";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue