Files
Linux_post_install/config/system.env
T
2026-08-14 16:58:47 -04:00

24 lines
991 B
Bash

# ~/.config/linux_post_install/system.env — shared "system" tool config
#
# Loaded by `pos system health` and `pos system backup` 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
# 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` mounts an unmounted stick it found. Default: /media
#BACKUP_MOUNT_BASE=/media
# Dir holding by-id symlinks used to cross-check devices that show no TRAN in
# lsblk. Default: /dev/disk/by-id
#BACKUP_USB_BYID=/dev/disk/by-id