nix-configs/homelab/cloudflared/default.nix
2025-07-26 17:58:38 -06:00

37 lines
1.6 KiB
Nix

{ config, pkgs, lib, ... }:
{
services = {
cloudflared = {
enable = true;
tunnels = {
"{{Tunnel UUID}}" = {
credentialsFile = "{{/path/to/UUID.json}}";
default = "http_status:404";
ingress = {
"honeycutt.family" = "http://localhost:5678"; # Glances homepage
"www.honeycutt.family" = "http://localhost:5678"; # Glances homepage
"aaron.honeycutt.family" = "http://localhost:80"; # Zola (personal site)
"home.honeycutt.family" = "http://10.0.0.200:8123"; # Home Assistant
"music.honeycutt.family" = "http://localhost:4533"; # Navidrome
"videos.honeycutt.family" = "http://localhost:8096"; # Jellyfin
"photos.honeycutt.family" = "http://localhost:2283"; # Immich
"books.honeycutt.family" = "http://localhost:5000"; # Kavita
"audiobookshelf.honeycutt.family" = "http://localhost:8000"; # Audiobookshelf
"meals.honeycutt.family" = "http://localhost:9000"; # Mealie
"ahoneybun.net" = "http://localhost:80"; # Zola (personal site)
"www.ahoneybun.net" = "http://localhost:80"; # Zola (personal site)
"hydra.ahoneybun.net" = "http://localhost:3000"; # Hydra NixOS CI
"git.ahoneybun.net" = "http://localhost:3001"; # Forgejo
"wiki.ahoneybun.net" = "http://localhost:4567"; # Gollum
"bin.ahoneybun.net" = "http://localhost:8088"; # Wastebin
"sync.ahoneybun.net" = "http://localhost:8384"; # Syncthing
"honeyfetch.app" = "http://localhost:8081"; # Zola (honeyfetch site)
};
};
};
};
};
}