2025-09-13 02:38:36 -04:00
|
|
|
{
|
2026-02-12 13:13:45 -05:00
|
|
|
config,
|
2025-09-13 02:38:36 -04:00
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
{
|
|
|
|
|
networking = {
|
2026-02-12 13:13:45 -05:00
|
|
|
hostName = "${config.host.name}"; # Define your hostname
|
|
|
|
|
|
|
|
|
|
# Pick only one of the below networking options.
|
2025-09-13 02:38:36 -04:00
|
|
|
# wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
|
|
|
|
networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
2026-02-12 13:13:45 -05:00
|
|
|
|
2025-09-13 02:38:36 -04:00
|
|
|
# Configure network proxy if necessary
|
|
|
|
|
# proxy.default = "http://user:password@proxy:port/";
|
|
|
|
|
# proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
2026-02-12 13:13:45 -05:00
|
|
|
|
2025-09-13 02:38:36 -04:00
|
|
|
# Open ports in the firewall.
|
|
|
|
|
# firewall.allowedTCPPorts = [ ... ];
|
|
|
|
|
# firewall.allowedUDPPorts = [ ... ];
|
|
|
|
|
# Or disable the firewall altogether.
|
|
|
|
|
# firewall.enable = false;
|
|
|
|
|
};
|
|
|
|
|
}
|