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

10 lines
228 B
Nix

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