diff --git a/configuration.nix b/configuration.nix index 776899c1dba30a56ef948659738bad1850a1f4fb..ad5486bebe021f94a105e3b612e2e8c88e6c0e01 100644 --- a/configuration.nix +++ b/configuration.nix @@ -210,7 +210,10 @@ allowedTCPPorts = [22]; enable = true; }; - interfaces.enp11s0.wakeOnLan.policy = [" magic "]; + interfaces.enp11s0.wakeOnLan = { + enable = true; + policy = [" magic "]; + }; }; # Open ports in the firewall. # networking.firewall.allowedUDPPorts = [ ... ];