1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: restic

This commit is contained in:
2022-01-18 21:29:30 +01:00
parent 9a2205121b
commit 1b7e0f903d
4 changed files with 44 additions and 0 deletions

11
configs/backup.nix Normal file
View File

@@ -0,0 +1,11 @@
{
services.restic.backups.niveum = {
initialize = true;
repository = "rest:http://zaatar.r:3571/";
timerConfig = { OnCalendar = "00:05"; RandomizedDelaySec = "5h"; };
passwordFile = toString <secrets/restic/password>;
paths = [
"/home/kfm/work"
];
};
}