From ded888151ec44504954add2dab727162e519ec55 Mon Sep 17 00:00:00 2001 From: traxys Date: Fri, 4 Aug 2023 09:06:35 +0200 Subject: [PATCH] thinkpad-nixos: Add tailscale --- hostconfig/thinkpad-nixos/nixos.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hostconfig/thinkpad-nixos/nixos.nix b/hostconfig/thinkpad-nixos/nixos.nix index 6b8cfc8..dd4411a 100644 --- a/hostconfig/thinkpad-nixos/nixos.nix +++ b/hostconfig/thinkpad-nixos/nixos.nix @@ -63,6 +63,9 @@ # forward-socks5 = "/ localhost:9080 ."; # }; + services.tailscale.enable = true; + systemd.services.tailscaled.serviceConfig.Environment = ["http_proxy=http://localhost:8100"]; + security.sudo.extraConfig = ''Defaults env_keep += "*_proxy *_PROXY"''; networking.proxy = { httpProxy = "http://localhost:8100";