Automatically enable wakeonon

This commit is contained in:
Sridhar Ratnakumar 2021-10-30 18:37:36 -04:00
parent ad6fe1edee
commit 824d086586

View file

@ -8,7 +8,16 @@
};
};
networking.interfaces."enp0s31f6".wakeOnLan.enable = true;
environment.systemPackages = with pkgs; [
# ethtool can be used to manually enable wakeOnLan, eg:
#
# sudo ethtool -s enp0s31f6 wol g
#
# on verify its status:
#
# sudo ethtool enp0s31f6 | grep Wake-on
ethtool
];
}