diff --git a/flake.nix b/flake.nix index b81b7a5..e6906a9 100644 --- a/flake.nix +++ b/flake.nix @@ -78,7 +78,6 @@ # and where they get deployed to deploy.nodes = mkNodes { crayon = { hostname = "squi.bid"; }; - blob = { hostname = "192.168.50.159"; }; }; # dev shell to deploy this flake diff --git a/hosts/blob/gatus.nix b/hosts/blob/gatus.nix index 6293a8b..fd459ce 100644 --- a/hosts/blob/gatus.nix +++ b/hosts/blob/gatus.nix @@ -10,39 +10,33 @@ in { openFirewall = true; settings = { web.port = 8081; - storage = { - path = "/var/lib/gatus/db.sqlite"; - type = "sqlite"; - caching = true; - }; - ui.dark-mode = true; endpoints = [ { name = "nas"; group = "external"; url = "http://192.168.50.240"; - interval = "1m"; + interval = "5m"; conditions = gatus.up; } { name = "site"; group = "remote"; url = "https://squi.bid"; - interval = "2m"; + interval = "10m"; conditions = gatus.up; } { name = "git site"; group = "remote"; url = "https://git.squi.bid"; - interval = "2m"; + interval = "10m"; conditions = gatus.up; } { name = "voidpkgs"; group = "remote"; url = "https://voidpkgs.squi.bid"; - interval = "2m"; + interval = "10m"; conditions = [''[BODY] == pat(*x86_64-repodata.sig2*)'']; } ]; diff --git a/hosts/blob/jellyfin.nix b/hosts/blob/jellyfin.nix index 3584f0a..da82671 100644 --- a/hosts/blob/jellyfin.nix +++ b/hosts/blob/jellyfin.nix @@ -13,7 +13,7 @@ name = "jellyfin"; group = "local"; url = "http://localhost:8096/System/Ping"; - interval = "30s"; + interval = "5m"; conditions = [''[BODY] == "Jellyfin Server"'']; } ];