secrets: move poseidon-restic to agenix

This commit is contained in:
Antoine Martin 2022-03-11 18:25:40 +01:00
parent 165b30ef9c
commit 2908bbb887
8 changed files with 18 additions and 11 deletions

View file

@ -65,7 +65,9 @@ in
restic-backup = {
enable = true;
repo = secrets.restic-backup.poseidon-repo;
repo = "b2:poseidon-backup";
passwordFile = config.age.secrets."restic-backup/poseidon-password".path;
environmentFile = config.age.secrets."restic-backup/poseidon-credentials".path;
};
fail2ban = {

View file

@ -17,6 +17,9 @@
owner = "matrix-synapse";
};
"restic-backup/poseidon-credentials" = {};
"restic-backup/poseidon-password" = {};
"transmission/secret" = {
owner = "transmission";
};