feat: add restic for backups

This commit is contained in:
Glen Goodwin 2023-12-19 23:47:15 -05:00
parent 5db8838edd
commit c60fe24458

14
common/nixos/restic.nix Normal file
View file

@ -0,0 +1,14 @@
{...}: {
services.restic.backups = {
backups = {
user = "gwg313";
repository = "/backups";
initialize = true;
passwordFile = "/home/gwg313/restic.txt";
paths = ["/home/gwg313/Projects" "/home/gwg313/Documents" "/home/gwg313/.local/share/password-store" "/home/gwg313/.local/share/buku"];
timerConfig = {
onCalendar = "saturday 23:00";
};
};
};
}