feat: add restic for backups
This commit is contained in:
parent
5db8838edd
commit
c60fe24458
1 changed files with 14 additions and 0 deletions
14
common/nixos/restic.nix
Normal file
14
common/nixos/restic.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue