mirror of
https://github.com/srid/nixos-config.git
synced 2026-02-25 14:35:17 +08:00
Automatically enable wakeonon
This commit is contained in:
parent
ad6fe1edee
commit
824d086586
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue