treefmt / nix fmt (pull_request) Successful in 4s
build_systems / prebuild-common-x86-64-v3 (pull_request) Successful in 21s
build_systems / build-portal-1 (pull_request) Successful in 18s
build_systems / build-bob (pull_request) Successful in 39s
build_systems / build-brain (pull_request) Successful in 39s
test ebook search / test-ebook-search (pull_request) Successful in 1m9s
build_systems / build-rhapsody-in-green (pull_request) Successful in 55s
build_systems / build-jeeves (pull_request) Successful in 1m13s
treefmt / nix fmt (push) Successful in 3s
build_systems / prebuild-common-x86-64-v3 (push) Successful in 6s
build_systems / build-portal-1 (push) Successful in 18s
build_systems / build-bob (push) Successful in 26s
build_systems / build-brain (push) Successful in 29s
build_systems / build-rhapsody-in-green (push) Successful in 39s
build_systems / build-jeeves (push) Successful in 1m5s
test ebook search / test-ebook-search (push) Successful in 1m18s
48 lines
946 B
Nix
48 lines
946 B
Nix
let
|
|
ports = {
|
|
audiobookshelf = 8000;
|
|
ebook_searcher = 8070;
|
|
gems = 8002;
|
|
gitea_http = 6443;
|
|
gitea_ssh = 2223;
|
|
grafana = 3000;
|
|
jellyfin_http = 8096;
|
|
jellyswarrm = 3100;
|
|
nix_binary_cache = 5000;
|
|
nornsight = 8001;
|
|
ollama = 11434;
|
|
open_webui = 8080;
|
|
postgresql = 5432;
|
|
share = 8091;
|
|
syncthing = 8384;
|
|
};
|
|
in
|
|
{
|
|
networking.firewall = {
|
|
enable = true;
|
|
interfaces.br-nix-builder = {
|
|
allowedTCPPorts = [ ];
|
|
allowedUDPPorts = [ ];
|
|
};
|
|
interfaces.tailscale0.allowedTCPPorts = [
|
|
ports.audiobookshelf
|
|
ports.gems
|
|
ports.jellyfin_http
|
|
ports.jellyswarrm
|
|
ports.nix_binary_cache
|
|
ports.nornsight
|
|
ports.share
|
|
];
|
|
allowedTCPPorts = [
|
|
ports.ebook_searcher
|
|
ports.gitea_http
|
|
ports.gitea_ssh
|
|
ports.grafana
|
|
ports.ollama
|
|
ports.open_webui
|
|
ports.postgresql
|
|
ports.syncthing
|
|
];
|
|
};
|
|
}
|