From ad4c919b3e2a96ab3a3919d830038289388b99ac Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Thu, 18 Apr 2024 14:57:24 +0200 Subject: [PATCH] uptime kuma --- hosts/x86_64-linux/beleth/default.nix | 4 ++++ hosts/x86_64-linux/beleth/uptime.nix | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 hosts/x86_64-linux/beleth/uptime.nix diff --git a/hosts/x86_64-linux/beleth/default.nix b/hosts/x86_64-linux/beleth/default.nix index 1f513c9..7515fda 100644 --- a/hosts/x86_64-linux/beleth/default.nix +++ b/hosts/x86_64-linux/beleth/default.nix @@ -13,6 +13,7 @@ with lib; { ./calibre-web.nix ./transmission.nix ./lanrarari.nix + ./uptime.nix ../../gc.nix ../../../common ]; @@ -43,6 +44,9 @@ with lib; { grafana.heroin.trade { reverse_proxy http://127.0.0.1:2342 } + uptime.heroin.trade { + reverse_proxy 127.0.0.1:3001 + } ''; }; diff --git a/hosts/x86_64-linux/beleth/uptime.nix b/hosts/x86_64-linux/beleth/uptime.nix new file mode 100644 index 0000000..1cc3d53 --- /dev/null +++ b/hosts/x86_64-linux/beleth/uptime.nix @@ -0,0 +1,6 @@ +{config, lib, ...}: +{ + services.uptime-kuma = { + enable = true; + }; +}