infrastructure/modules/dgn-records/default.nix
Tom Hubrecht 3bccda09db
All checks were successful
build configuration / build_vault01 (push) Successful in 1m5s
build configuration / build_rescue01 (push) Successful in 1m6s
build configuration / build_web02 (push) Successful in 1m7s
build configuration / build_storage01 (push) Successful in 1m11s
lint / check (push) Successful in 23s
build configuration / build_web01 (push) Successful in 1m32s
build configuration / build_compute01 (push) Successful in 1m59s
feat(infra): Enable recording of deployments
2024-03-08 23:11:31 +01:00

16 lines
320 B
Nix

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