nixos: disable wireless and enable WoL for ethernet adapter

This commit is contained in:
Alexandre Cavalheiro 2024-05-13 11:56:50 -03:00
parent ead61b3406
commit c8a78d9227
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -66,15 +66,13 @@
};
networking.hostName = "nixos"; # Define your hostname.
# networking.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";
# Enable networking
networking.networkmanager.enable = true;
# Enable WOL on my ethernet interface.
networking.interfaces.enp5s0.wakeOnLan.enable = true;
# Open ports in the firewall.
networking.firewall = {
allowedTCPPorts = [