${builtins.concatStringsSep "\n" (lib.attrsets.mapAttrsToList
(k: v: "install -Dm600 -o buildbot -g buildbot -T /var/secrets/buildbot/${project.name}/${k} $buildbot_secrets/${k}") project.secrets
)}
+ ${buildbot}/bin/buildbot upgrade-master ${varDir}/${project.name}
'';
environment = let
project_env = with lib.attrsets;