fix deprecation issues in apu config

This commit is contained in:
Joakim Repomaa
2025-02-02 18:56:25 +02:00
parent 89474fb479
commit 636326f00f

View File

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