22 lines
502 B
Nix
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;
|
|
}
|