feat(homelab): enable Wake-on-LAN on the mini PCs (#509)

This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-11-02 15:36:29 +08:00
1 parent 7ea9fd3197
commit be3e27c49b
11 files changed
+731 -73

No files matched your search

+8
View File
@@ -80,6 +80,14 @@ in
networking.useNetworkd = true;
systemd.network.enable = true;
# Arm the physical NIC for Wake-on-LAN after every boot. systemd.link matches
# the kernel-assigned name; `Name=` is not a valid [Match] key. The firmware
# side is recorded in ../docs/bios.md.
systemd.network.links."40-wake-on-lan" = {
matchConfig.OriginalName = iface;
linkConfig.WakeOnLan = "magic";
};
# Linux bridge for the VMs: the microVM taps and the libvirt domains attach to
# br0, and the host keeps its own address on it (the physical NIC is just a
# bridge port).