Merge pull request 'add uptime-kuma' (#159) from add-update-kuma into main

Reviewed-on: #159
This commit is contained in:
Charlotte 🦝 Delenk 2023-08-02 13:36:35 +00:00
commit 925c81829d
Signed by: gitea-bot
GPG key ID: C9974EDF9932B558
3 changed files with 20 additions and 1 deletions

View file

@ -27,6 +27,7 @@
./services/kubo.nix
./services/synapse.nix
./services/heisenbridge.nix
./services/uptime-kuma.nix
];
boot.initrd.availableKernelModules = ["xhci_pci" "virtio_pci" "usbhid"];

View file

@ -0,0 +1,17 @@
{pkgs, ...}: {
services.uptime-kuma = {
enable = true;
settings = {
PORT = "45566";
};
};
services.caddy.virtualHosts."status.chir.rs" = {
useACMEHost = "chir.rs";
logFormat = pkgs.lib.mkForce "";
extraConfig = ''
import baseConfig
reverse_proxy http://127.0.0.1:45566
'';
};
}

View file

@ -144,7 +144,7 @@ with dns.lib.combinators; let
SOA = {
nameServer = "ns1.chir.rs.";
adminEmail = "lotte@chir.rs";
serial = 33;
serial = 34;
};
NS = [
"ns1.chir.rs."
@ -245,6 +245,7 @@ with dns.lib.combinators; let
lotte = createZone {};
ipfs-nocdn = createZone oracleBase;
ipfs.CNAME = ["ipfs-chir-rs.b-cdn.net."];
uptime = createZone oracleBase;
int =
delegateTo [