nixos: disable wireless and enable WoL for ethernet adapter
This commit is contained in:
parent
ead61b3406
commit
c8a78d9227
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue