mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02:00
fix(eval): silence some eval warnings
This commit is contained in:
parent
3a491d5901
commit
78da69c2c7
4 changed files with 19 additions and 18 deletions
|
@ -58,10 +58,8 @@
|
|||
];
|
||||
routes = [
|
||||
{
|
||||
routeConfig = {
|
||||
Gateway = "163.172.91.1";
|
||||
Destination = "0.0.0.0/0";
|
||||
};
|
||||
Gateway = "163.172.91.1";
|
||||
Destination = "0.0.0.0/0";
|
||||
}
|
||||
];
|
||||
dhcpV6Config = {
|
||||
|
|
|
@ -59,12 +59,10 @@
|
|||
};
|
||||
wireguardPeers = [
|
||||
{
|
||||
wireguardPeerConfig = {
|
||||
PublicKey = "oYsN1Qy+a7dwVOKapN5s5KJOmhSflLHZqh+GLMeNpHw=";
|
||||
AllowedIPs = [ "0.0.0.0/0" ];
|
||||
Endpoint = "[${lib.snowfield.akhaten.ips.public.ipv6}]:51821";
|
||||
PersistentKeepalive = 25;
|
||||
};
|
||||
PublicKey = "oYsN1Qy+a7dwVOKapN5s5KJOmhSflLHZqh+GLMeNpHw=";
|
||||
AllowedIPs = [ "0.0.0.0/0" ];
|
||||
Endpoint = "[${lib.snowfield.akhaten.ips.public.ipv6}]:51821";
|
||||
PersistentKeepalive = 25;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@ -73,16 +71,14 @@
|
|||
matchConfig.Name = "wg0";
|
||||
addresses = [
|
||||
{
|
||||
addressConfig.Address = "10.100.45.2/24";
|
||||
addressConfig.AddPrefixRoute = false;
|
||||
Address = "10.100.45.2/24";
|
||||
AddPrefixRoute = false;
|
||||
}
|
||||
];
|
||||
routes = [
|
||||
{
|
||||
routeConfig = {
|
||||
Gateway = "10.100.45.1";
|
||||
Destination = "10.100.45.0/24";
|
||||
};
|
||||
Gateway = "10.100.45.1";
|
||||
Destination = "10.100.45.0/24";
|
||||
}
|
||||
];
|
||||
DHCP = "no";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue