2026-02-08 19:27:12 -05:00
|
|
|
{ config, lib, ... }:
|
|
|
|
|
{
|
|
|
|
|
config = lib.mkMerge [
|
|
|
|
|
(lib.mkIf (config.networking.hostName == "nixnas") {
|
|
|
|
|
services.cloudflared = {
|
|
|
|
|
enable = true;
|
|
|
|
|
certificateFile = "/Block/cloudflare/cert.pem";
|
|
|
|
|
tunnels.mine = {
|
|
|
|
|
credentialsFile = "/Block/cloudflare/2d530440-2db8-491a-bb61-7941315d4cb9.json";
|
|
|
|
|
default = "http_status:404";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
})
|
2026-03-09 15:23:38 -04:00
|
|
|
(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";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
})
|
2026-02-08 19:27:12 -05:00
|
|
|
];
|
|
|
|
|
}
|