infra/modules/nixos/cachix-deploy/default.nix

12 lines
257 B
Nix
Raw Normal View History

2023-07-21 15:27:05 +10:00
{ config, lib, ... }:
{
sops.secrets.cachix-agent-token.sopsFile = ./secrets.yaml;
services.cachix-agent = {
enable = true;
credentialsFile = config.sops.secrets.cachix-agent-token.path;
};
system.autoUpgrade.enable = lib.mkForce false;
}