| 12345678910111213141516171819202122 |
- { config, ... }:
- let
- inherit (config.containers) gogs grasp;
- immich = config.services.immich;
- in
- {
- services.cloudflared = {
- enable = true;
- certificateFile = config.age.secrets."odin/services/cloudflared".path;
- tunnels."71c89a7f-2467-444c-9fda-4864860dc8c4" = {
- default = "http_status:404";
- credentialsFile = config.age.secrets."odin/services/cloudflared-tunnel".path;
- ingress = {
- "photos.t5.st".service = "http://${immich.host}:${toString immich.port}";
- "git.t5.st".service = "http://${gogs.localAddress}:3000";
- "grasp.t5.st".service = "http://${grasp.localAddress}:7334";
- };
- };
- };
- }
|