mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
feat(homelab): enable Wake-on-LAN on the mini PCs (#509)
This commit is contained in:
1 parent
7ea9fd3197
commit
be3e27c49b
11 files changed
+731
-73
No files matched your search
@@ -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).
|
||||
|
||||
Reference in new issue
Block a user