fix deprecation issues in apu config
This commit is contained in:
@@ -63,7 +63,7 @@ let
|
||||
Address=${address}
|
||||
'';
|
||||
|
||||
buildBridgeVLANConfig = id: { bridgeVLANConfig.VLAN = id; };
|
||||
buildBridgeVLANConfig = id: { VLAN = id; };
|
||||
|
||||
buildVlanNetwork = name: { id, ipv6 ? false, staticLeases ? [ ], ... }: {
|
||||
name = "30-${name}";
|
||||
@@ -118,6 +118,8 @@ in
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
config.networkConfig.IPv6Forwarding = true;
|
||||
|
||||
links = {
|
||||
"10-extern0" = {
|
||||
matchConfig.Path = "pci-0000:01:00.0";
|
||||
@@ -178,7 +180,7 @@ in
|
||||
DHCP = true;
|
||||
DNS = "127.0.0.1";
|
||||
IPv6AcceptRA = true;
|
||||
IPForward = true;
|
||||
IPv4Forwarding = true;
|
||||
};
|
||||
dhcpV6Config = {
|
||||
PrefixDelegationHint = "::/56";
|
||||
|
||||
Reference in New Issue
Block a user