forked from mirrors_public/oddlama_nix-config
feat: add proxy-home vpn to accelerate traffic between local nodes
This commit is contained in:
parent
34fd783e60
commit
b01c521830
22 changed files with 123 additions and 10 deletions
|
@ -7,6 +7,7 @@
|
|||
inherit (lib) net;
|
||||
lanCidrv4 = "192.168.1.0/24";
|
||||
dnsIp = net.cidr.host 3 lanCidrv4;
|
||||
webProxyIp = net.cidr.host 4 lanCidrv4;
|
||||
in {
|
||||
# TODO make meta.kea module?
|
||||
# TODO reserve by default using assignIps algo?
|
||||
|
@ -49,6 +50,10 @@ in {
|
|||
hw-address = nodes.ward-adguardhome.config.lib.microvm.mac;
|
||||
ip-address = dnsIp;
|
||||
}
|
||||
{
|
||||
hw-address = nodes.ward-web-proxy.config.lib.microvm.mac;
|
||||
ip-address = webProxyIp;
|
||||
}
|
||||
{
|
||||
hw-address = nodes.sire-samba.config.lib.microvm.mac;
|
||||
ip-address = net.cidr.host 10 lanCidrv4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue