nix/hosts/laptop-server/modules/networking.nix

17 lines
368 B
Nix
Raw Normal View History

2024-12-11 19:32:45 -07:00
{ ... }:
{
networking.hostName = "ty-laptop-server";
# Enable firewall
networking.firewall.enable = true;
# Enable NetworkManager
networking.networkmanager.enable = true;
# Tailscale overlay network configuration
services.tailscale = {
enable = true;
useRoutingFeatures = "both";
openFirewall = true;
};
}