feat(infra): Enable recording of deployments

This commit is contained in:
Tom Hubrecht 2024-03-08 23:11:31 +01:00
parent 5f899bc0e7
commit 3bccda09db
5 changed files with 63 additions and 3 deletions

View file

@ -0,0 +1,16 @@
{ config, ... }:
{
services.arkheon.record = {
enable = true;
tokenFile = config.age.secrets."__arkheon-token_file".path;
url = "https://arkheon.dgnum.eu";
};
age-secrets.sources = [ ./. ];
# Allow using agenix for the token file
system.activationScripts.arkheon-record.deps = [ "agenix" ];
}