mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
gitlab-runner service: honor proxy variables
This commit is contained in:
parent
b2686dce25
commit
73c4a3f641
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue