22 lines
No EOL
460 B
Nix
22 lines
No EOL
460 B
Nix
{ ... }:
|
|
{
|
|
networking = {
|
|
hostName = "ty-laptop-server";
|
|
|
|
# Enable firewall
|
|
firewall = {
|
|
enable = true;
|
|
trustedInterfaces = [ "lo" "ve-jellyfin" ];
|
|
};
|
|
|
|
# Enable NetworkManager
|
|
networkmanager.enable = true;
|
|
};
|
|
|
|
# Tailscale overlay network configuration
|
|
services.tailscale = {
|
|
enable = true;
|
|
useRoutingFeatures = "both";
|
|
openFirewall = true;
|
|
};
|
|
} |