2024-12-11 19:32:45 -07:00
|
|
|
{ ... }:
|
|
|
|
{
|
2024-12-12 15:33:50 -07:00
|
|
|
networking = {
|
|
|
|
hostName = "ty-laptop-server";
|
2024-12-11 19:32:45 -07:00
|
|
|
|
2024-12-12 15:33:50 -07:00
|
|
|
# Enable firewall
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
trustedInterfaces = [ "lo" "ve-jellyfin" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
# Enable NetworkManager
|
|
|
|
networkmanager.enable = true;
|
|
|
|
};
|
2024-12-11 19:32:45 -07:00
|
|
|
|
|
|
|
# Tailscale overlay network configuration
|
|
|
|
services.tailscale = {
|
|
|
|
enable = true;
|
|
|
|
useRoutingFeatures = "both";
|
|
|
|
openFirewall = true;
|
|
|
|
};
|
|
|
|
}
|