37 lines
1.5 KiB
Bash
37 lines
1.5 KiB
Bash
# ~/.config/linux_post_install/system.env — shared "system" tool config
|
|
#
|
|
# Loaded by `pos system health`, `pos system backup` and `pos media sync` via
|
|
# load_system_env() with precedence: already-exported environment > this file
|
|
# > defaults. Commented lines are defaults — uncomment to override.
|
|
|
|
# Roots scanned by `pos system backup --service` and by the backup-age check
|
|
# in `pos system health`. Default: /srv $HOME/srv
|
|
#BACKUP_SERVICE_ROOTS=/srv /home/you/srv
|
|
|
|
# Skip encryption in `pos system backup` (plain .tar.gz, no password prompt —
|
|
# headless/cron safe). Equivalent to the --no-encrypt flag. Default: 1
|
|
#BACKUP_ENCRYPT=0
|
|
|
|
# Max backup age in days before `pos system health` raises a WARN. Default: 2
|
|
#HEALTH_BACKUP_MAX_AGE_DAYS=3
|
|
|
|
# Pin a fixed USB stick for `pos system backup` (no detection, no prompt on
|
|
# cron). The copy lands in <root>/backups/ and is still sha256-verified.
|
|
#BACKUP_USB_ROOT=/mnt/usb
|
|
|
|
# Where `pos system backup` / `pos media sync` mount an unmounted stick they
|
|
# found. Default: /media (BACKUP_MOUNT_BASE is kept as an alias)
|
|
#USB_MOUNT_BASE=/media
|
|
|
|
# Dir holding by-id symlinks used to cross-check devices that show no TRAN in
|
|
# lsblk. Shared by `pos system backup` and `pos media sync`. Default:
|
|
# /dev/disk/by-id (BACKUP_USB_BYID is kept as an alias)
|
|
#USB_BYID=/dev/disk/by-id
|
|
|
|
# Source folder synced by `pos media sync`. Default: $HOME/Music
|
|
#MEDIA_SYNC_SOURCE=/home/you/Music
|
|
|
|
# Subfolder on the USB stick that `pos media sync` mirrors the source into.
|
|
# Default: Music
|
|
#MEDIA_SYNC_DEST=Music
|