gitlab-runner service: honor proxy variables

This commit is contained in:
Pascal Bach 2017-08-30 10:20:42 +02:00
parent b2686dce25
commit 73c4a3f641

View File

@ -100,6 +100,7 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
systemd.services.gitlab-runner = { systemd.services.gitlab-runner = {
environment = config.networking.proxy.envVars;
description = "Gitlab Runner"; description = "Gitlab Runner";
after = [ "network.target" ] after = [ "network.target" ]
++ optional hasDocker "docker.service"; ++ optional hasDocker "docker.service";