add uptime kuma, card-mod and others

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2026-10-02 00:26:00 +02:00
parent 75691a7cf5
commit 7a39b995a4
4 changed files with 92 additions and 2 deletions
+29
View File
@@ -0,0 +1,29 @@
{
config,
lib,
...
}: let
inherit (import ./mk-container.nix {inherit lib config;}) mkContainer;
in {
imports = [
(mkContainer {
name = "uptime-kuma";
hostIp = "10.233.13.1";
containerIp = "10.233.13.2";
internet = true;
nixosConfig = {...}: {
services.uptime-kuma = {
enable = true;
settings = {
HOST = "0.0.0.0";
PORT = "3001";
};
};
networking.firewall.allowedTCPPorts = [3001];
system.stateVersion = "24.05";
};
})
];
services.cloudflared.tunnels."${config.var.tunnelId}".ingress."uptime.${config.var.domain}" = "http://10.233.13.2:3001";
}