mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
nixos/buildkite: stop using deprecated option
This commit is contained in:
parent
8c6b1c3eaa
commit
7838f00824
@ -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})"
|
||||||
|
Loading…
Reference in New Issue
Block a user