23 lines
615 B
Nix
23 lines
615 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
networking = {
|
||
|
networkmanager.enable = true;
|
||
|
hostName = "nixos";
|
||
|
# wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||
|
};
|
||
|
|
||
|
# Configure network proxy if necessary
|
||
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||
|
# Open ports in the firewall.
|
||
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||
|
# Or disable the firewall altogether.
|
||
|
# networking.firewall.enable = false;
|
||
|
|
||
|
services.tailscale = {
|
||
|
enable = true;
|
||
|
};
|
||
|
}
|