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

12 lines
272 B
Nix
Raw Normal View History

2023-12-01 18:45:27 +02:00
{ config, depot, ... }:
{
age.secrets.cachixDeployToken.file = ./credentials/${config.networking.hostName}.age;
services.cachix-agent = {
enable = true;
credentialsFile = config.age.secrets.cachixDeployToken.path;
2023-12-01 18:45:27 +02:00
package = depot.packages.cachix;
};
}