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

feat(restic): backup git

This commit is contained in:
2022-01-18 23:36:38 +01:00
parent 30c2bfe598
commit 20da594f97

View File

@@ -8,8 +8,13 @@ in
inherit (restic) repository; inherit (restic) repository;
timerConfig = { OnCalendar = "00:05"; RandomizedDelaySec = "5h"; }; timerConfig = { OnCalendar = "00:05"; RandomizedDelaySec = "5h"; };
passwordFile = toString <secrets/restic/password>; passwordFile = toString <secrets/restic/password>;
extraBackupArgs = [
"--exclude-file=/home/kfm/projects/nixpkgs/.git"
"--exclude=node_modules"
];
paths = [ paths = [
"/home/kfm/work" "/home/kfm/work"
"/home/kfm/projects"
]; ];
}; };