enable cachix deploy agent on all hosts

This commit is contained in:
zowoq 2023-09-13 16:34:24 +10:00
parent cebf6d9cd5
commit 5c7481a3aa
7 changed files with 64 additions and 3 deletions
modules/nixos/common

View file

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