From 299986282774d1515f09d3d0ec84e256b2c044f7 Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Thu, 7 Aug 2025 11:14:47 +0200 Subject: [PATCH] Update work-proxy --- modules/services/work-proxy.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/services/work-proxy.nix b/modules/services/work-proxy.nix index e1fb2b1..db20430 100644 --- a/modules/services/work-proxy.nix +++ b/modules/services/work-proxy.nix @@ -15,6 +15,17 @@ in config = lib.mkIf cfg.enable { + services.tinyproxy = { + enable = true; + settings = { + LogLevel = "Info"; + Port = 2345; + Upstream = [ + ''upstream http wsl:2345 ".microsoftonline.com"'' + ]; + }; + }; + security.pki.certificateFiles = [ "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ./certs/Foyer-Group-Root-CA.crt