From 2a838e38fae35172012c9e96d4547949d5e978d8 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 3 Feb 2025 20:31:48 -0800 Subject: kansai: add wake-on-lan to interfaces --- hosts/kansai/hardware-configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/kansai/hardware-configuration.nix b/hosts/kansai/hardware-configuration.nix index a4129c7..58c86c4 100644 --- a/hosts/kansai/hardware-configuration.nix +++ b/hosts/kansai/hardware-configuration.nix @@ -85,8 +85,16 @@ in extraOptions = commonOptions; }; + networking = { + useDHCP = lib.mkDefault true; + + interfaces = { + enp42s0.wakeOnLan.enable = true; + wlan0.wakeOnLan.enable = true; + }; + }; + swapDevices = [ ]; - networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }; -- cgit v1.2.3