config.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Snap-Slack Configuration File
  2. [snapshot]
  3. # Directory where snapshots are stored
  4. snapshot_dir = "/.snapshots"
  5. # Prefix for snapshot names
  6. snapshot_prefix = "snapshot-"
  7. # BTRFS mount point (usually /)
  8. btrfs_mount_point = "/"
  9. # Root subvolume name (usually @ for Slackware)
  10. root_subvolume = "@"
  11. # Number of days to keep snapshots (older ones will be deleted)
  12. retention_days = 7
  13. # Bootloader configuration
  14. [bootloader]
  15. # Type of bootloader: 'elilo' or 'grub'
  16. type = "elilo"
  17. [elilo]
  18. # Path to elilo configuration file
  19. elilo_conf = "/boot/efi/EFI/Slackware/elilo.conf"
  20. # Root partition device
  21. root_partition = "/dev/sdaX"
  22. # Additional kernel boot options
  23. extra_boot_options = "quiet splash"
  24. [grub]
  25. # Use a custom file in /etc/grub.d/ (recommended)
  26. use_custom_file = true
  27. # Path to the custom file for snapshot entries
  28. custom_entries_file = "/etc/grub.d/60_snap-slack"
  29. # GRUB configuration file
  30. config_file = "/boot/grub/grub.cfg"
  31. # Root partition device
  32. root_partition = "/dev/sdaX"
  33. # Path to kernel image (relative to / or absolute)
  34. kernel_path = "/boot/vmlinuz"
  35. # Path to initrd image (relative to / or absolute)
  36. initrd_path = "/boot/initrd.gz"
  37. # Additional kernel boot options
  38. extra_boot_options = "quiet splash"
  39. [boot]
  40. # Path to boot directory for kernel and initrd
  41. boot_dir = "/boot"
  42. # System hostname (used for snapshot descriptions)
  43. hostname = "slackware"