nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

Documentation: WakeOnLan depdendency is not clear to users

Open zalphoid opened this issue 5 days ago • 2 comments

Problem

Its not clear to users that networking.interfaces.<name>.wakeOnLan requires systemd-networkd

Proposal

Relocate the current wakeOnLan configuration setting to a subset of systemd.network and provide an alternative that creates a oneshot per interface to enable the policy the user specifies leveraging ethtool.

OR
  1. Update the documentation to state that it leverages systemd-networkd, for example, Whether to enable wol on this interface using systemd-networkd.
  2. Add a dependency on systemd-networkd and warn users if they use wakeOnLan without it.

Checklist


Add a :+1: reaction to issues you find important.

zalphoid avatar Jul 02 '24 06:07 zalphoid