Reapply "matrix: configure sliding sync proxy"
This reverts commit 0f844c8bb2
.
This commit is contained in:
parent
0f844c8bb2
commit
6cb5887bba
5 changed files with 55 additions and 27 deletions
|
@ -119,7 +119,8 @@ in
|
|||
domains = [ "internal" ];
|
||||
dns = [ data.lasting-integrity.ip ];
|
||||
linkConfig.MTUBytes = "1342";
|
||||
routes = [(
|
||||
routes = [
|
||||
(
|
||||
if config.chvp.base.network.wireguard.server then {
|
||||
Gateway = "${data.${config.networking.hostName}.ip}";
|
||||
Destination = subnet;
|
||||
|
@ -128,7 +129,8 @@ in
|
|||
Destination = subnet;
|
||||
GatewayOnLink = true;
|
||||
}
|
||||
)];
|
||||
)
|
||||
];
|
||||
};
|
||||
};
|
||||
services = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue