mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
hosts/plover: update Wireguard routing
This commit is contained in:
parent
4dcb82c72b
commit
e76a881aee
@ -79,13 +79,17 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
networks."99-${wireguardIFName}" = {
|
||||
matchConfig.Name = wireguardIFName;
|
||||
networks."99-${wireguardIFName}" = with interfaces.wireguard0; {
|
||||
matchConfig.Name = ifname;
|
||||
|
||||
address = with interfaces.wireguard0; [
|
||||
address = [
|
||||
"${IPv4.address}/14"
|
||||
"${IPv6.address}/64"
|
||||
];
|
||||
|
||||
routes = [
|
||||
{ routeConfig.Gateway = IPv4.gateway; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user