1
0
nixfiles/hosts/krypton/backup.nix

27 lines
513 B
Nix
Raw Permalink Normal View History

2023-06-20 20:36:53 +02:00
{ ... }:
{
clerie.backup = {
enable = true;
jobs.main = {
paths = [
"/home"
"/var/lib"
];
exclude = [
"/home/*/.local/share/Trash/*"
2023-06-20 20:36:53 +02:00
"/home/*/.config/*.log"
"/home/*/.local/*.log"
"/home/*/.cache/*"
"/home/*/.config/*[Cc]ache*/*"
"/home/*/.mozilla/*/cache/*"
"/home/*/.thumbnails/*"
"/home/*/.config/Element/Cache/*"
2023-06-20 20:36:53 +02:00
"/home/clerie/tmp/*"
"/home/clere/Downloads/*"
2023-06-20 20:36:53 +02:00
];
};
};
}