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 = {
|
||||
enable = true;
|
||||
collector.enable = true;
|
||||
settings.web.listen.port = 8181;
|
||||
settings.notify.urls = [
|
||||
"ntfy://notify.liv.town/violet"
|
||||
"ntfy://${config.liv.variables.ntfyURL}/${config.networking.hostName}"
|
||||
];
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."scrutiny.liv.town" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8181/";
|
||||
};
|
||||
};
|
||||
# services.nginx.virtualHosts."" = {
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://localhost:8181/";
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue