feat: do not backup Downloads and tmp

Commonly contains bigger files, temporarily and fills up backup storage.
This commit is contained in:
buffet 2024-04-25 15:49:09 +02:00
parent 55944b9dca
commit 43c3f427f3

View file

@ -10,7 +10,7 @@ in {
services.borgbackup = { services.borgbackup = {
jobs.backup = { jobs.backup = {
paths = ["/etc" "/home" "/root" "/var"]; paths = ["/etc" "/home" "/root" "/var"];
exclude = ["/var/log"]; exclude = ["/var/log" "/home/buffet/Downloads" "/home/buffet/tmp"];
repo = "${host}:${config.networking.hostName}"; repo = "${host}:${config.networking.hostName}";
encryption = { encryption = {
mode = "repokey"; mode = "repokey";