This commit is contained in:
albert 2025-01-16 10:49:26 -08:00
parent e86c3276ae
commit 8a97166f5e
Signed by: albert
GPG key ID: 3895DD267CA11BA9
3 changed files with 15 additions and 14 deletions
nixos
common
hosts/nuc-server

View file

@ -4,8 +4,7 @@
networkmanager = {
enable = true;
logLevel = "INFO";
};
};
useDHCP = lib.mkDefault true;
enableIPv6 = true;
firewall = {

View file

@ -3,9 +3,9 @@
"fs.inotify.max_user_watches" = 52428800;
"fs.inotify.max_user_instances" = 4096;
# Testing...
"net.core.netdev_max_backlog" = 4000;
"net.ipv4.tcp_max_syn_backlog" = 4096;
# Testing...
# "net.core.netdev_max_backlog" = 4000;
# "net.ipv4.tcp_max_syn_backlog" = 4096;
};
# Allow Docker containers to access Tailscale network

View file

@ -2,16 +2,18 @@
networking = {
firewall = {
enable = true;
allowedTCPPorts = [
53 # DNS
80 # HTTP
443 # HTTPS
5696 # DSM-KMIP
5697 # DSM-KMIP Backup
8096 # Jellyfin
];
interfaces = {
tailscale0= {
eth0 = {
allowedTCPPorts = [
53 # DNS
80 # HTTP
443 # HTTPS
5696 # DSM-KMIP
5697 # DSM-KMIP Backup
8096 # Jellyfin
];
};
tailscale0 = {
allowedTCPPorts = [
53 # DNS
80 # HTTP