mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 01:55:22 +08:00
devices.cross.tinc: disable auto connection and disable host data exchange
This commit is contained in:
@@ -164,6 +164,8 @@ in
|
||||
Proxy = inputs.lib.mkIf (inputs.config.nixos.services.xray.client != null) "socks5 127.0.0.1 10885";
|
||||
ConnectTo = builtins.map tincHostname (builtins.attrNames
|
||||
(inputs.lib.filterAttrs (n: v: (v.address or null != null) && (v.jump or null == n)) connection.${hostname}));
|
||||
AutoConnect = false;
|
||||
TunnelServer = true;
|
||||
};
|
||||
ed25519PrivateKeyFile = inputs.config.nixos.system.sops.secrets."tinc".path;
|
||||
hostSettings = inputs.lib.mkMerge
|
||||
|
||||
Reference in New Issue
Block a user