nix/hosts/laptop/modules/networking.nix

20 lines
430 B
Nix
Raw Normal View History

{ ... }:
{
networking.hostName = "ty-nixos";
# Enable firewall
networking.firewall.enable = true;
# Enable NetworkManager
networking.networkmanager.enable = true;
# Tailscale overlay network configuration
services.tailscale = {
enable = true;
useRoutingFeatures = "both";
openFirewall = true;
};
# Network printing via CUPS
services.printing.enable = true;
}