pull out actual and cloudflared to main

This commit is contained in:
Clayton Hickey 2026-03-09 15:23:38 -04:00
parent 4dc2de88e2
commit 2b660e73e9
6 changed files with 43 additions and 34 deletions

View file

@ -11,5 +11,28 @@
};
};
})
(lib.mkIf (config.networking.hostName == "loadedskypotato") {
services.cloudflared = {
enable = true;
certificateFile = "/Block/cloudflare/cert.pem";
tunnels.mine = {
credentialsFile = "/Block/cloudflare/4fc85af1-38f7-4c96-856c-7c797c5e3bf8.json";
default = "http_status:404";
ingress = {
"languini.net" = "http://10.100.0.2:5267";
"claytondoesthings.xyz" = "http://127.0.0.1:5000";
"nextcloud.claytondoesthings.xyz" = "http://10.100.0.2:8120";
"bikeability.claytonhickey.me" = "http://10.100.0.2:8001";
"bikeability-tileserver.claytonhickey.me" = "http://10.100.0.2:8000";
"bikeability-rasterserver.claytonhickey.me" = "http://127.0.0.1:8304";
"claytonhickey.me" = "http://127.0.0.1:8302";
"jellyfin.claytonhickey.me" = "http://10.100.0.2:8096";
"forgejo.claytonhickey.me" = "unix://${config.services.forgejo.settings.server.HTTP_ADDR}";
"matrix.claytonhickey.me" = "http://127.0.0.1:8303";
"mastodon.claytonhickey.me" = "http://10.100.0.2:5328";
};
};
};
})
];
}