nix/hosts/laptop/config/networking.nix

20 lines
430 B
Nix
Raw Normal View History

2024-12-02 03:57:34 -07:00
{ ... }:
{
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;
}