services: setup restic backups service
This commit is contained in:
parent
1a0f0da28d
commit
a763e0549f
6 changed files with 91 additions and 2 deletions
|
|
@ -17,6 +17,7 @@ with lib;
|
|||
gandiKey = lib.fileContents ./gandi-api-key.secret;
|
||||
|
||||
borg-backup = import ./borg-backup { inherit lib; };
|
||||
restic-backup = import ./restic-backup { inherit lib; };
|
||||
|
||||
matrixEmailConfig = import ./matrix-email-config.nix;
|
||||
};
|
||||
|
|
|
|||
4
secrets/restic-backup/default.nix
Normal file
4
secrets/restic-backup/default.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{ lib }:
|
||||
{
|
||||
poseidon-repo = lib.fileContents ./poseidon-repo.secret;
|
||||
}
|
||||
BIN
secrets/restic-backup/poseidon-repo.secret
Normal file
BIN
secrets/restic-backup/poseidon-repo.secret
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue