diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-17T19·05+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-20T10·26+0100 |
commit | 79904056afc7025d3d351bc44741de4a9f20e017 (patch) | |
tree | 19fb3342cb821053ce1fa519b62ff33d670b41d7 /nixos | |
parent | 60b8b83376df8d1007137b6920ee09ed8cdcc3ac (diff) |
Move buildkite's SSH key out of /home/wpcarro into /etc/ssh
After enabling buildkite-agent using NixOS, it runs as its own user, buildkite-agent-socrates, which does not have its own home directory. I moved the SSH key that I made when running buildkite-agent as wpcarro into /etc/ssh and `chown`'d it for buildkite-agent-socrates.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/socrates/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/socrates/default.nix b/nixos/socrates/default.nix index f638b83d66fb..ec0bf3a73dc5 100644 --- a/nixos/socrates/default.nix +++ b/nixos/socrates/default.nix @@ -112,6 +112,7 @@ in { socrates = { enable = true; tokenPath = "/etc/secrets/buildkite-agent-token"; + privateSshKeyPath = "/etc/ssh/buildkite_agent_id_rsa"; }; }; |