17 lines
368 B
Nix
17 lines
368 B
Nix
|
{ ... }:
|
||
|
{
|
||
|
networking.hostName = "ty-laptop-server";
|
||
|
|
||
|
# Enable firewall
|
||
|
networking.firewall.enable = true;
|
||
|
|
||
|
# Enable NetworkManager
|
||
|
networking.networkmanager.enable = true;
|
||
|
|
||
|
# Tailscale overlay network configuration
|
||
|
services.tailscale = {
|
||
|
enable = true;
|
||
|
useRoutingFeatures = "both";
|
||
|
openFirewall = true;
|
||
|
};
|
||
|
}
|