2024-12-02 03:57:34 -07:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
networking.hostName = "ty-nixos";
|
|
|
|
|
2024-12-21 22:29:34 -07:00
|
|
|
# networking.hosts = { "23.95.137.176" = [ "s.optifine.net" ]; };
|
|
|
|
|
2024-12-02 03:57:34 -07:00
|
|
|
# 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;
|
2024-12-21 22:29:34 -07:00
|
|
|
}
|