From a0e4d77a31585083e1fcf9e50698a85d6335f889 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Fri, 6 Jan 2023 00:14:33 +0100 Subject: [PATCH] Explicitly enable Wake-on-LAN --- machines/loki/configuration.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/machines/loki/configuration.nix b/machines/loki/configuration.nix index 6b24076..1d9daad 100644 --- a/machines/loki/configuration.nix +++ b/machines/loki/configuration.nix @@ -176,6 +176,17 @@ DHCP = "yes"; }; }; + + links = { + "40-enp4s0" = { + matchConfig = { + Name = "enp4s0"; + }; + linkConfig = { + WakeOnLan = "magic"; + }; + }; + }; }; # nix = { # package = pkgs.nixUnstable;