remove terraform effect and hercules secrets

also move cachix deploy token to repo root secrets
This commit is contained in:
zowoq 2023-09-15 11:39:35 +10:00
parent 9b325d8c38
commit c896c3e3b5
7 changed files with 30 additions and 79 deletions
modules/nixos/hercules-ci

View file

@ -9,14 +9,12 @@ in
{
sops.secrets."binary-caches.json" = herculesSecret;
sops.secrets."cluster-join-token.key" = herculesSecret;
sops.secrets."hercules-secrets" = herculesSecret;
services.hercules-ci-agent = {
enable = true;
settings = {
binaryCachesPath = secrets."binary-caches.json".path;
clusterJoinTokenPath = secrets."cluster-join-token.key".path;
secretsJsonPath = secrets."hercules-secrets".path;
};
};
}