Skip to content

Commit 3ffde6b

Browse files
committed
feat: relatively stable config with open street
1 parent f25cd00 commit 3ffde6b

File tree

6 files changed

+805
-1
lines changed

6 files changed

+805
-1
lines changed

custom_modules/core_services.nix

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ in
154154
reverse_proxy 127.0.0.1:6188
155155
}
156156
157+
handle_path /osm* {
158+
reverse_proxy 127.0.0.1:8083
159+
}
160+
157161
handle_path /srcbot/* {
158162
rate_limit {
159163
zone srcbot_limit {
@@ -211,6 +215,7 @@ in
211215
reverse_proxy 127.0.0.1:8080
212216
'';
213217
};
218+
214219
services.tailscale.permitCertUid = "caddy";
215220

216221
services.homepage-dashboard = {
@@ -315,6 +320,20 @@ in
315320
description = "Lean Documentation";
316321
};
317322
}
323+
{
324+
"OpenStreetMap" = {
325+
icon = "mdi-map";
326+
href = "/osm/";
327+
description = "Self-hosted Map Tiles";
328+
};
329+
}
330+
{
331+
"Trip Planner" = {
332+
icon = "mdi-bus";
333+
href = "http://100.74.54.40:8084/";
334+
description = "OpenTripPlanner Transit Routing";
335+
};
336+
}
318337
];
319338
}
320339
{
@@ -578,6 +597,7 @@ in
578597
11434
579598
47990
580599
47989
600+
8083 # openstreetmap
581601
];
582602

583603
services.lorri.enable = true;

0 commit comments

Comments
 (0)