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

11 lines
228 B
Nix
Raw Normal View History

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