From c8a78d92272dfe6bff053f53f2f2f50bc75aa160 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Mon, 13 May 2024 11:56:50 -0300 Subject: [PATCH] nixos: disable wireless and enable WoL for ethernet adapter --- nixos.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos.nix b/nixos.nix index db895bf..968154e 100644 --- a/nixos.nix +++ b/nixos.nix @@ -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 = [