hosts/krypton: enable backup
This commit is contained in:
25
hosts/krypton/backup.nix
Normal file
25
hosts/krypton/backup.nix
Normal 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/"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user