20 lines
No EOL
430 B
Nix
20 lines
No EOL
430 B
Nix
{ ... }:
|
|
{
|
|
networking.hostName = "ty-nixos";
|
|
|
|
# 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;
|
|
} |