infra/build01/buildkite.nix
2020-01-22 12:37:13 +01:00

17 lines
376 B
Nix

{ pkgs, ... }:
{
services.buildkite-agent = {
enable = true;
tokenPath = "/run/keys/buildkite-token";
openssh.privateKeyPath = builtins.toPath "/run/keys/buildkite-agent-key";
openssh.publicKeyPath = builtins.toPath "/run/keys/buildkite-agent-key.pub";
runtimePackages = [
pkgs.gnutar
pkgs.bash
pkgs.nix
pkgs.gzip
];
};
}