infra/modules/nixos/cachix-deploy/default.nix
2023-07-28 05:38:18 +00:00

11 lines
257 B
Nix

{ 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;
}