From 360fb7b8574d240533f70b85e65f9e3eb0e41fb7 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Sat, 8 Feb 2025 23:00:59 -0500 Subject: [PATCH] Enable wake-on-lan --- machines/hephaestus/configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/machines/hephaestus/configuration.nix b/machines/hephaestus/configuration.nix index 8eea6b5..17e478e 100644 --- a/machines/hephaestus/configuration.nix +++ b/machines/hephaestus/configuration.nix @@ -172,8 +172,12 @@ in iproute2.enable = true; hostName = "hephaestus"; hostId = "0e8aad53"; - interfaces.enp34s0 = { + interfaces."enp34s0" = { useDHCP = true; + wakeOnLan = { + enable = true; + policy = [ "magic" ]; + }; }; firewall = { allowPing = false;