This commit is contained in:
Rouven Seifert 2023-10-28 15:51:25 +02:00
parent 45628bdbc3
commit 78b1a5761c
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
13 changed files with 52 additions and 113 deletions

View file

@ -5,8 +5,7 @@
services.borgmatic = {
enable = true;
settings = {
# fix failing check
location = null;
location = { };
source_directories = [
"/var/lib"
"/var/log"
@ -34,16 +33,12 @@
"/home/*/.local/share"
"/home/*/Linux/Isos"
];
storage = {
encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.sops.secrets."borg/passphrase".path}";
compression = "lz4";
};
retention = {
keep_daily = 7;
keep_weekly = 4;
keep_monthly = 12;
keep_yearly = 3;
};
encryption_passcommand = "${pkgs.coreutils}/bin/cat ${config.sops.secrets."borg/passphrase".path}";
compression = "lz4";
keep_daily = 7;
keep_weekly = 4;
keep_monthly = 12;
keep_yearly = 3;
};
};
}