nixos/buildkite: stop using deprecated option

This commit is contained in:
Florian Klink 2020-01-19 21:48:59 +01:00
parent 8c6b1c3eaa
commit 7838f00824

View File

@ -225,8 +225,8 @@ in
in in
'' ''
mkdir -m 0700 -p "${sshDir}" mkdir -m 0700 -p "${sshDir}"
cp -f "${toString cfg.openssh.privateKeyPath}" "${sshDir}/id_rsa" cp -f "${toString cfg.privateSshKeyPath}" "${sshDir}/id_rsa"
chmod 600 "${sshDir}"/id_rsa* chmod 600 "${sshDir}"/id_rsa
cat > "${cfg.dataDir}/buildkite-agent.cfg" <<EOF cat > "${cfg.dataDir}/buildkite-agent.cfg" <<EOF
token="$(cat ${toString cfg.tokenPath})" token="$(cat ${toString cfg.tokenPath})"