configuration
flake
hosts
_iso
aluminium
astatine
backup-4
beryllium
carbon
clerie-backup
dn42-il-gw1
dn42-il-gw5
dn42-il-gw6
dn42-ildix-clerie
dn42-ildix-service
gatekeeper
hydra-1
hydra-2
krypton
android.nix
backup.nix
configuration.nix
etesync-dav.nix
hardware-configuration.nix
initrd.nix
network.nix
programs.nix
secrets.json
ssh.pub
mail-2
monitoring-3
nonat
osmium
palladium
porter
storage-2
tungsten
web-2
zinc
lib
modules
pkgs
users
.gitignore
README.md
flake.lock
flake.nix
27 lines
513 B
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/*"
|
|
];
|
|
};
|
|
};
|
|
}
|