diff options
| author | Martin Fischer <martin@push-f.com> | 2025-12-26 23:01:13 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2025-12-27 21:30:42 +0100 |
| commit | 17813922d70b901e2aecc46cf6efa7e53f82dbd3 (patch) | |
| tree | fe5d65b6ffb7deba77e6d164d234c2b652e1ea0a /nixos/hosts | |
| parent | 3498b31257e07876d5442cb15ed35ed822aea4fa (diff) | |
tweak(ev): add --exclude-file for photo backups
Diffstat (limited to 'nixos/hosts')
| -rw-r--r-- | nixos/hosts/ev/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/hosts/ev/default.nix b/nixos/hosts/ev/default.nix index 5d6de93..4c8562d 100644 --- a/nixos/hosts/ev/default.nix +++ b/nixos/hosts/ev/default.nix @@ -80,6 +80,7 @@ in "d /mnt/lib 2770 library library -" "d /mnt/personal/music 2770 root music -" "d /mnt/personal/photos 2770 root photos -" + "f /mnt/personal/photos.excludes 2770 root photos -" ]; users.users = { @@ -201,7 +202,10 @@ in ]; timerConfig = { OnCalendar = "00:30"; }; pruneOpts = ["--keep-daily 30" "--keep-weekly 8"]; - extraBackupArgs = ["--skip-if-unchanged"]; + extraBackupArgs = [ + "--skip-if-unchanged" + "--exclude-file /mnt/personal/photos.excludes" # e.g. for video files I still want to transcode + ]; progressFps = 0.0166; # once per minute }; }; |
