fix(restic): improve ignorePatterns

This commit is contained in:
Felix Schröter 2022-07-04 17:11:44 +02:00
parent 2a6ffc38f3
commit 3a0c9a91e8
Signed by: felschr
GPG key ID: 671E39E6744C807D
2 changed files with 12 additions and 6 deletions

View file

@ -18,22 +18,28 @@ in {
paths = [ "/etc/nixos" "/var/lib" "/home" ];
ignorePatterns = [
"/var/lib/systemd"
"/var/lib/libvirt"
"/var/lib/containers"
"/var/lib/lxcfs"
"/var/lib/docker"
"/var/lib/flatpak"
"/home/*/.local/share/Trash"
"/home/*/.cache"
"/home/*/Downloads"
"/home/*/.npm"
"/home/*/Games"
"/home/*/.cache"
"/home/*/.npm"
"/home/*/.nuget"
"/home/*/.steam"
"/home/*/.local/share/Trash"
"/home/*/.local/share/libvirt"
"/home/*/.local/share/containers"
"/home/*/.local/share/bottles"
"/home/*/.local/share/Steam"
"/home/*/.local/share/lutris"
"/home/*/.local/share/NuGet"
"/home/*/.config/libvirt"
"/home/felschr/media"
"/home/felschr/sync"
"/home/felschr/keybase"
"**/.git"
];
timerConfig.OnCalendar = "0/4:00:00";
extraPruneOpts = [ "--keep-last 6" ];

View file

@ -22,10 +22,10 @@ in {
"/var/lib/lxcfs"
"/var/lib/docker"
"/var/lib/flatpak"
"/home/ignore"
"/home/*/ignore"
"/home/*/.cache"
"/home/*/.local/share/containers"
"/home/*/.local/share/Trash"
"/home/*/.cache"
"/var/lib/jellyfin/transcodes"
"**/.git"
];