nixos/network-interfaces-systemd: fix WoL policy handling (#423429)
This commit is contained in:
commit
a3cd3c9f91
@ -79,7 +79,7 @@ let
|
|||||||
links = mkIf i.wakeOnLan.enable {
|
links = mkIf i.wakeOnLan.enable {
|
||||||
"40-${i.name}" = {
|
"40-${i.name}" = {
|
||||||
matchConfig.name = i.name;
|
matchConfig.name = i.name;
|
||||||
linkConfig.WakeOnLan = i.wakeOnLan.policy;
|
linkConfig.WakeOnLan = concatStringsSep " " i.wakeOnLan.policy;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
netdevs = mkIf i.virtual {
|
netdevs = mkIf i.virtual {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user