🏡 my personal home lab
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

uptime kuma

+25
+1
hosts/cm4-node-1.nix
··· 7 7 ../modules/caddy.nix 8 8 ../modules/dyndns.nix 9 9 ../modules/beszel/hub.nix 10 + ../modules/uptime-kuma.nix 10 11 ]; 11 12 12 13 system.stateVersion = "23.11";
+2
modules/beszel/hub.nix
··· 16 16 after = [ "mnt-nas.mount" ]; 17 17 requires = [ "mnt-nas.mount" ]; 18 18 }; 19 + 20 + # networking.firewall.allowedTCPPorts = [ 8090 ]; 19 21 }
+3
modules/caddy.nix
··· 48 48 "nas.goo.garden".extraConfig = '' 49 49 reverse_proxy 10.0.0.2:5000 50 50 ''; 51 + "probe.outerwilds.space".extraConfig = '' 52 + reverse_proxy localhost:${config.services.uptime-kuma.settings.PORT} 53 + ''; 51 54 }; 52 55 }; 53 56
+19
modules/uptime-kuma.nix
··· 1 + { ... }: 2 + { 3 + services.uptime-kuma = { 4 + enable = true; 5 + settings = { 6 + PORT = "3001"; 7 + }; 8 + }; 9 + 10 + systemd.services.uptime-kuma = { 11 + after = [ "mnt-nas.mount" ]; 12 + requires = [ "mnt-nas.mount" ]; 13 + serviceConfig = { 14 + BindPaths = [ "/mnt/nas/data/uptime-kuma:/var/lib/uptime-kuma" ]; 15 + }; 16 + }; 17 + 18 + # networking.firewall.allowedTCPPorts = [ 3001 ]; 19 + }