1
0

hosts/krypton: enable backup

This commit is contained in:
2023-06-20 20:36:53 +02:00
parent 26f05a217b
commit 80cc6522da
7 changed files with 37 additions and 0 deletions

25
hosts/krypton/backup.nix Normal file
View File

@@ -0,0 +1,25 @@
{ ... }:
{
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/clerie/tmp/"
"/home/clere/Downloads/"
];
};
};
}