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
|
@ -44,6 +44,7 @@
|
||||||
"dgn-fail2ban"
|
"dgn-fail2ban"
|
||||||
"dgn-hardware"
|
"dgn-hardware"
|
||||||
"dgn-network"
|
"dgn-network"
|
||||||
|
"dgn-records"
|
||||||
"dgn-ssh"
|
"dgn-ssh"
|
||||||
"dgn-web"
|
"dgn-web"
|
||||||
"dgn-vm-variant"
|
"dgn-vm-variant"
|
||||||
|
|
42
modules/dgn-records/__arkheon-token_file
Normal file
42
modules/dgn-records/__arkheon-token_file
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 jIXfPA tUYFIHRHhzoovCj2787gimUlzImJoDMJ+tjeyKbTaWM
|
||||||
|
4v3uHBMWy7bW42R3QuMcasrZjuCGMAlvtLZc+7Lw/JE
|
||||||
|
-> ssh-ed25519 QlRB9Q kCvthexHuAgXFERWq2TSt5B2NlgIT8+mrf9YYn19llo
|
||||||
|
aGr7qXX0SMMu6CERsrRUVlNi67XvI8B8M5mDW7TFDJI
|
||||||
|
-> ssh-ed25519 r+nK/Q ob+ELcG6qX8fcQWH7diMgezHEYwqazMck8cSBXVvjXc
|
||||||
|
LPvtCVIdX3UDWGdg9O+uDGunpl/J6FeuLVJvD2m4S7I
|
||||||
|
-> ssh-rsa krWCLQ
|
||||||
|
m7Dt57o6Oc0Bfp1goSaxo950nRr1kcsMZv2uQJ9E06oD9g1PjEnAyqW/AECCE5Si
|
||||||
|
2Do7zBXYJ+cZeFdPU/W0ZPSrdFZCuF3Q4S/BgjUG7BQabnH8EgQbKJN6TJ+mUYxM
|
||||||
|
AhCPwtEKEQwEI1J6TkCq8f1cw2VAcZkBdoWZGrtZx54ZqLXmFvxYWZoRbP+1MFsH
|
||||||
|
xmQHTE6Ihkmx6Q33PnvHkdD5MprxkIkhk/QQ0TmNgPr/Hw0PLvb9J64C1l+BpuDq
|
||||||
|
NelCAymS2p55QmwZLWGafiB/1hkJJY9vgIINzTT2p8z8hD0ADnBNU5BkN6PDHD8i
|
||||||
|
orH+z13/tqYXuGiPKUXSWQ
|
||||||
|
-> ssh-ed25519 /vwQcQ GZFfbjS7SxHv4ZViDN+KIXBrpX+i721yJd9ePS5OhzQ
|
||||||
|
HBbHTWXun/Ehk9yYHqWX+Rrw3y5qfRfe4pKCGlRvwdU
|
||||||
|
-> ssh-ed25519 0R97PA rhHVQ0ANLsmpsHnxKhOVJxRyPFnxy7zFnda9B/6oj28
|
||||||
|
1UOkeN3At/AJoD8rO3WSHtIm62JpO1uTZfFw5okMg/4
|
||||||
|
-> ssh-ed25519 JGx7Ng BXg2NNukqSm5q3oAYzk3Du4osxjIonX0Qks0gWGlYz4
|
||||||
|
QbhcXti1Ql1037+IBkJdMQJ2g82u7N7uu4W1ojQJFXk
|
||||||
|
-> ssh-ed25519 5SY7Kg ubt2DTgzwjr9jFsHsESiKaq8cPBRP1hCfIIQG1mjhzE
|
||||||
|
05sIp5Pj3nj1UIgaui9a0onU8qP32GHhlMMMNGtSxa4
|
||||||
|
-> ssh-ed25519 p/Mg4Q 7NRJtGVrvvhI96FFH0B15zmoiQ4mRHiKT+9neMhRkBQ
|
||||||
|
OPXyboQRVDGjoLc2/87rhNB44p+Dj6yrH0ux3Q0368k
|
||||||
|
-> ssh-ed25519 tDqJRg xX53lCPHRDVDpOYpas9ftBrrxsdRBUTJjwjI2fnFqT4
|
||||||
|
jChHvbDJtheO0FTH0chTIdEXKE4kBHDENm5BEli4JZc
|
||||||
|
-> ssh-ed25519 9pVK7Q tdiuNARpFCpdU9W+3/YsVZZK8Xt/NdYjqt8kxtVFLTo
|
||||||
|
pPKF2IlFzObEu5UtZ7deSOcxh9OTSK87scsgTNop1fQ
|
||||||
|
-> ssh-ed25519 /BRpBQ YsJ5p4xcU35+q0EVsERg/vh2Z4uVzFJVm6BgipH4CVs
|
||||||
|
Yz7m7pfbj6+DHT1Pa/mhcroZG4qQaV24krBaPP9JsHY
|
||||||
|
-> ssh-ed25519 +MNHsw v4XqeQR30iMCc9EzGA8IdGLoENsXx7Mfvvx4JGVV0GA
|
||||||
|
GTR9j6nMikwUuOn4Bj2PAiqxiVDw+D7dtrrJVCsEf0Y
|
||||||
|
-> ssh-ed25519 rHotTw 0CNrOIAlpnNtQEtlm0RyOrz+0ondvqY+oqM0QtwNYU0
|
||||||
|
J2lHzfBPueh2LKt5d7QjaiPQdh/ih5lrngUGng3qWVY
|
||||||
|
-> ssh-ed25519 +mFdtQ 365dIp+r+Yhj2o0V4YhgUgMNf3AonjzQ55nnKN1g6l8
|
||||||
|
C0wurXGyS0aVcsCJwVSkDVN0cHGFVxdHgvfP0y/AwQQ
|
||||||
|
-> ssh-ed25519 0IVRbA GGL4OdqkjGP5eoVhWtUwQSfV2f+qmoUZo+U6uaYLr00
|
||||||
|
loMKTjt1UDgtkEsfyooqh0tfUYsyx2VlOKWmWAwzoAU
|
||||||
|
-> ssh-ed25519 8V9fnQ dMzN/gaZxUnpSCVd4vDAWd5+0Q7y67zOpEtk6Dx7dl8
|
||||||
|
P3FsjOmuc8E0AoAbd36vfHtd61yAvCSR0qyfLhhm+kY
|
||||||
|
--- oVEtjzZ4tPxxTCrvBBbFXC0XYp08devKq78Y7evtdak
|
||||||
|
0ÅeÅ¡-ìc´µô¢P®F¦ .þùê<C3B9> =Où6x^M×Æ×ô¦•ò4Ã@9ÅàhÒÈM™´9ç
|
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" ];
|
||||||
|
}
|
1
modules/dgn-records/secrets.nix
Normal file
1
modules/dgn-records/secrets.nix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{ __arkheon-token_file.publicKeys = (import ../../lib { }).machineKeys; }
|
|
@ -22,9 +22,9 @@
|
||||||
"repo": "arkheon"
|
"repo": "arkheon"
|
||||||
},
|
},
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"revision": "a75356f4d0c569da30698874dd07b29cd59d7d7d",
|
"revision": "c4b1b8efde35e16f6d07dc5c0d0d8d267a04e460",
|
||||||
"url": "https://github.com/RaitoBezarius/arkheon/archive/a75356f4d0c569da30698874dd07b29cd59d7d7d.tar.gz",
|
"url": "https://github.com/RaitoBezarius/arkheon/archive/c4b1b8efde35e16f6d07dc5c0d0d8d267a04e460.tar.gz",
|
||||||
"hash": "10xvhfhji67i0c0vcvgsx2yrdwrf6sp71vhjdwnrbxmaqv0dz94f"
|
"hash": "0ba3m9714yi3lxlydwm41ixqq0yq6qjfq86jcl2szqzh68kwvcwf"
|
||||||
},
|
},
|
||||||
"attic": {
|
"attic": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
|
|
Loading…
Reference in a new issue