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}
'';
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";