depot/cluster/services/cachix-deploy-agent/agent.nix

11 lines
272 B
Nix

{ config, depot, ... }:
{
age.secrets.cachixDeployToken.file = ./credentials/${config.networking.hostName}.age;
services.cachix-agent = {
enable = true;
credentialsFile = config.age.secrets.cachixDeployToken.path;
package = depot.packages.cachix;
};
}