rearrange NOTE blocks

This commit is contained in:
Yan Lin 2026-01-24 20:10:55 +01:00
parent 1451b18083
commit 9d1c8f4064
9 changed files with 27 additions and 38 deletions

View file

@ -1,3 +1,6 @@
# NOTE: Passphrase file at: `/etc/borg-passphrase` with mode 600
# content: `BORG_PASSPHRASE=your-passphrase`
{ config, lib, pkgs, ... }:
with lib;
@ -5,9 +8,6 @@ with lib;
let
cfg = config.services.borg-client-custom;
sshCommand = "ssh -F /home/yanlin/.ssh/config -o StrictHostKeyChecking=accept-new -o ServerAliveInterval=60 -o ServerAliveCountMax=240";
# NOTE: Passphrase file: /etc/borg-passphrase
# Should contain: BORG_PASSPHRASE=your-passphrase
# Place on host with mode 0600
passphraseFile = "/etc/borg-passphrase";
excludePatterns = [
"*.tmp" "*.temp" "*/.cache/*" "*/.local/share/Trash/*" "*/tmp/*" "*/temp/*"