mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03: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 {
|
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";
|
||||||
|
Loading…
Reference in New Issue
Block a user