l retiolum: handle connection loss better
This commit is contained in:
parent
2d87daa73f
commit
2c38c86d18
@ -22,7 +22,6 @@
|
|||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
AutoConnect = no
|
AutoConnect = no
|
||||||
StrictSubnets = yes
|
|
||||||
${lib.optionalString (config.krebs.build.host.nets.retiolum.via != null) ''
|
${lib.optionalString (config.krebs.build.host.nets.retiolum.via != null) ''
|
||||||
LocalDiscovery = no
|
LocalDiscovery = no
|
||||||
''}
|
''}
|
||||||
@ -36,6 +35,14 @@
|
|||||||
"${config.krebs.build.host.nets.retiolum.ip4.addr}/16"
|
"${config.krebs.build.host.nets.retiolum.ip4.addr}/16"
|
||||||
"${config.krebs.build.host.nets.retiolum.ip6.addr}/16"
|
"${config.krebs.build.host.nets.retiolum.ip6.addr}/16"
|
||||||
];
|
];
|
||||||
|
linkConfig = {
|
||||||
|
MTUBytes = "1377";
|
||||||
|
RequiredForOnline = "no";
|
||||||
|
};
|
||||||
|
networkConfig = {
|
||||||
|
IgnoreCarrierLoss = "10s";
|
||||||
|
LinkLocalAddressing = "no";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.packageOverrides = pkgs: {
|
nixpkgs.config.packageOverrides = pkgs: {
|
||||||
|
Loading…
Reference in New Issue
Block a user