mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 02:09:26 +08:00
Revert "devices.cross.tinc: tinc use socks5 proxy"
This reverts commit b896e43d90.
This commit is contained in:
@@ -111,13 +111,7 @@ in
|
||||
{
|
||||
services.tinc.networks.tinc0 =
|
||||
{
|
||||
settings =
|
||||
{
|
||||
Interface = "tinc0";
|
||||
Name = tincHostname hostname;
|
||||
PingInterval = 10;
|
||||
Proxy = inputs.lib.mkIf (inputs.config.nixos.services.xray.client != null) "socks5 127.0.0.1 10885";
|
||||
};
|
||||
settings = { Interface = "tinc0"; Name = tincHostname hostname; PingInterval = 10; };
|
||||
ed25519PrivateKeyFile = inputs.config.nixos.system.sops.secrets."tinc".path;
|
||||
hostSettings = inputs.lib.mkMerge
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user