nix/hosts/laptop/config/networking.nix
2024-12-21 22:33:52 -07:00

22 lines
502 B
Nix

{ ... }:
{
networking.hostName = "ty-nixos";
# networking.hosts = { "23.95.137.176" = [ "s.optifine.net" ]; };
# 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;
}