Fix race condition (?)
This commit is contained in:
parent
edbf0de415
commit
f990d5df05
|
@ -14,7 +14,7 @@
|
||||||
publicKey = "OeIBzwOGYjQPU7co4MlNDqnARnJoICXMNam7TJWNBG0=";
|
publicKey = "OeIBzwOGYjQPU7co4MlNDqnARnJoICXMNam7TJWNBG0=";
|
||||||
presharedKeyFile = config.sops.secrets."wireguard-psk".path;
|
presharedKeyFile = config.sops.secrets."wireguard-psk".path;
|
||||||
allowedIPs = ["10.193.0.0/16"];
|
allowedIPs = ["10.193.0.0/16"];
|
||||||
endpoint = "min.rip:49090";
|
endpoint = "66.23.198.122:49090";
|
||||||
persistentKeepalive = 25;
|
persistentKeepalive = 25;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
net = {
|
net = {
|
||||||
# TODO: hardcoding (this module *may* be a good place to store values like this, though)
|
# TODO: hardcoding
|
||||||
address = "66.23.198.122";
|
address = "66.23.198.122";
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
subnet = "255.255.255.0";
|
subnet = "255.255.255.0";
|
||||||
|
|
|
@ -48,7 +48,7 @@ with lib; let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
baseClient = let
|
baseClient = let
|
||||||
lhs = {"10.13.0.1" = ["min.rip:4242"];};
|
lhs = {"10.13.0.1" = ["66.23.198.122:4242"];};
|
||||||
lhsInternal = attrNames lhs;
|
lhsInternal = attrNames lhs;
|
||||||
in {
|
in {
|
||||||
lighthouses = lhsInternal;
|
lighthouses = lhsInternal;
|
||||||
|
|
Loading…
Reference in New Issue