mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: add scrutiny
This commit is contained in:
parent
bfceb118ca
commit
8fc79e3c10
1 changed files with 18 additions and 0 deletions
18
modules/services/scrutiny.nix
Normal file
18
modules/services/scrutiny.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.scrutiny = {
|
||||||
|
enable = true;
|
||||||
|
collector.enable = true;
|
||||||
|
settings.web.listen.port = 8181;
|
||||||
|
settings.notify.urls = [
|
||||||
|
"ntfy://notify.liv.town/violet"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."scrutiny.liv.town" = {
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:8181/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue