mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 07:13:40 +00:00
Enable wake-on-lan
This commit is contained in:
@@ -172,8 +172,12 @@ in
|
|||||||
iproute2.enable = true;
|
iproute2.enable = true;
|
||||||
hostName = "hephaestus";
|
hostName = "hephaestus";
|
||||||
hostId = "0e8aad53";
|
hostId = "0e8aad53";
|
||||||
interfaces.enp34s0 = {
|
interfaces."enp34s0" = {
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
|
wakeOnLan = {
|
||||||
|
enable = true;
|
||||||
|
policy = [ "magic" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
firewall = {
|
firewall = {
|
||||||
allowPing = false;
|
allowPing = false;
|
||||||
|
Reference in New Issue
Block a user