Move host firewall configs into host dirs
NixOS switch mini-pc / switch (push) Failing after 13m30s
NixOS switch cloud-pc / switch (push) Has been cancelled

This commit is contained in:
Dmitry
2026-05-30 11:24:56 +03:00
parent 8dada68767
commit 9b66b72729
4 changed files with 5 additions and 2 deletions
-26
View File
@@ -1,26 +0,0 @@
{
networking.firewall = {
enable = true;
allowedTCPPorts = [
22 # SSH
53 # DNS (AdGuard)
80 # HTTP
443 # HTTPS
784 # DNS-over-QUIC
853 # DNS-over-TLS
3001 # Uptime Kuma
3015
4438
5443
8088
10380
];
allowedUDPPorts = [
53 # DNS
443 # QUIC
784 # DNS-over-QUIC
9993 # ZeroTier
5443
];
};
}
-25
View File
@@ -1,25 +0,0 @@
{
networking.firewall = {
enable = true;
allowedTCPPorts = [
22 # SSH
139 # Samba (NetBIOS session)
445 # Samba (SMB)
2222 # Gitea SSH
3002
4567
5432 # PostgreSQL
7080
8081
8384 # Syncthing web UI
22000 # Syncthing data transfer
];
allowedUDPPorts = [
137 # Samba (NetBIOS name)
138 # Samba (NetBIOS datagram)
9993 # ZeroTier
21027 # Syncthing discovery
22000 # Syncthing data transfer
];
};
}