forked from DGNum/infrastructure
feat(infra): Enable recording of deployments
This commit is contained in:
parent
5f899bc0e7
commit
3bccda09db
5 changed files with 63 additions and 3 deletions
16
modules/dgn-records/default.nix
Normal file
16
modules/dgn-records/default.nix
Normal 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" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue