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

17 lines
No EOL
368 B
Nix

{ ... }:
{
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;
};
}