From 7a292dace0a9c3c39da07433827d213343491884 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 24 Mar 2025 01:22:27 +0800 Subject: [PATCH] feat(networking): add wol support --- systems/modules/networking.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/systems/modules/networking.nix b/systems/modules/networking.nix index 7f5807d..aa56fa7 100644 --- a/systems/modules/networking.nix +++ b/systems/modules/networking.nix @@ -19,6 +19,17 @@ ]; allowedUDPPorts = [ ]; }; + + interfaces.enp12s0.wakeOnLan.policy = [ + "phy" + "unicast" + "multicast" + "broadcast" + "arp" + "magic" + "secureon" + ]; + interfaces.enp12s0.wakeOnLan.enable = true; }; # Add binary caches to avoid having to compile them