infra/modules/nixos/common/deploy.nix
2023-09-13 07:05:25 +00:00

9 lines
202 B
Nix

{ config, ... }:
{
sops.secrets.cachix-agent-token.sopsFile = ./secrets.yaml;
services.cachix-agent = {
enable = true;
credentialsFile = config.sops.secrets.cachix-agent-token.path;
};
}