fix systemd network

This commit is contained in:
Jeffrey C. Ollie 2024-12-11 13:48:57 -06:00
parent 52144c1a5c
commit f10ee48f79
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -621,9 +621,7 @@
};
addresses = [
{
addressConfig = {
Address = "${cfg.hosts.${name}.pod_subnet.gateway}/${toString cfg.hosts.${name}.pod_subnet.mask}";
};
Address = "${cfg.hosts.${name}.pod_subnet.gateway}/${toString cfg.hosts.${name}.pod_subnet.mask}";
}
];
};
@ -673,9 +671,7 @@
map
(
n: {
addressConfig = {
Address = "${cfg.hosts.${n}.wireguard_subnet.address}/${toString cfg.hosts.${n}.wireguard_subnet.mask}";
};
Address = "${cfg.hosts.${n}.wireguard_subnet.address}/${toString cfg.hosts.${n}.wireguard_subnet.mask}";
}
)
(
@ -686,10 +682,8 @@
map
(
n: {
routeConfig = {
Destination = "${cfg.hosts.${n}.pod_subnet.address}/${toString cfg.hosts.${n}.pod_subnet.mask}";
Gateway = cfg.hosts.${n}.wireguard_subnet.address;
};
Destination = "${cfg.hosts.${n}.pod_subnet.address}/${toString cfg.hosts.${n}.pod_subnet.mask}";
Gateway = cfg.hosts.${n}.wireguard_subnet.address;
}
)
(