1
0
nixfiles/hosts/krypton/backup.nix

27 lines
513 B
Nix

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