feat(restic): update restic config
This commit is contained in:
parent
4472bf76dc
commit
07fa38bdf8
|
@ -3,4 +3,3 @@
|
|||
{
|
||||
xdg.configFile."monitors.xml".source = ./monitors.xml;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
# using the restic cli:
|
||||
# load credentials into shell via: export $(cat /path/to/credentials/file | xargs)
|
||||
# useful commands for analysing restic stats [snapshot-id], restic diff [s1] [s2],
|
||||
|
||||
with lib;
|
||||
with builtins;
|
||||
|
||||
let
|
||||
hasAnyAttr = flip (attrset: any (flip hasAttr attrset));
|
||||
|
||||
|
@ -52,9 +55,9 @@ in {
|
|||
"/var/lib/syncthing"
|
||||
"/var/lib/jellyfin"
|
||||
"/var/lib/owntracks"
|
||||
"/var/lib/owntracks-recorder"
|
||||
];
|
||||
timerConfig = { OnCalendar = "hourly"; };
|
||||
extraPruneOpts = [ "--keep-hourly 24" ];
|
||||
extraOptions = [ "--exclude=/var/lib/jellyfin/transcodes" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue