mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-10-05 11:18:24 +02:00
add uptime kuma, card-mod and others
Signed-off-by: Hadi <[email protected]>
This commit is contained in:
@@ -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";
|
||||
}
|
||||
Reference in New Issue
Block a user