From 73c4a3f641ee2d3af2e0ff5f70fd8f1e373a934a Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Wed, 30 Aug 2017 10:20:42 +0200 Subject: [PATCH] gitlab-runner service: honor proxy variables --- nixos/modules/services/continuous-integration/gitlab-runner.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/continuous-integration/gitlab-runner.nix b/nixos/modules/services/continuous-integration/gitlab-runner.nix index ce0583dad54d..b18221456cbd 100644 --- a/nixos/modules/services/continuous-integration/gitlab-runner.nix +++ b/nixos/modules/services/continuous-integration/gitlab-runner.nix @@ -100,6 +100,7 @@ in config = mkIf cfg.enable { systemd.services.gitlab-runner = { + environment = config.networking.proxy.envVars; description = "Gitlab Runner"; after = [ "network.target" ] ++ optional hasDocker "docker.service";