Use networkd for networking.* on host
Making VM network changes doesn't reliably update bridge config with the old scripted NixOS networking.
This commit is contained in:
parent
d36ff56de4
commit
f66a97a29d
1 changed files with 3 additions and 0 deletions
|
|
@ -64,6 +64,9 @@ in
|
|||
# Enable IP forwarding
|
||||
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||
|
||||
# Bridge changes are not reliable with the scripted approach
|
||||
networking.useNetworkd = true;
|
||||
|
||||
# TAP interfaces for VMs with tap-type network interfaces.
|
||||
# Also includes empty entries for bridge devices so that networkd generates
|
||||
# .network files for them (without a .network file, networkd won't bring
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue