# Calamares for TANINUX (camel). Model: clone the live system to the target with
# unpackfs, then configure bootloader (systemd-boot), services (greetd), set up
# snapper + Flathub, and strip the live-only installer bits.
---
modules-search: [ local, /usr/lib/calamares/modules ]

instances:
- id:     snapper
  module: shellprocess
  config: shellprocess-snapper.conf
- id:     flathub
  module: shellprocess
  config: shellprocess-flathub.conf
- id:     striplive
  module: shellprocess
  config: shellprocess-striplive.conf

sequence:
- show:
  - welcome
  - locale
  - keyboard
  - partition
  - users
  - summary
- exec:
  - partition
  - mount
  - unpackfs
  - machineid
  - fstab
  - locale
  - keyboard
  - localecfg
  - luksbootkeyfile
  - users
  - networkcfg
  - hwclock
  - shellprocess@snapper
  - shellprocess@flathub
  - shellprocess@striplive
  - packages          # remove live-only packages (calamares, cage)
  - services-systemd  # enable greetd + NetworkManager on the target
  - mkinitcpio        # regenerate initramfs (plymouth hook)
  - bootloader        # systemd-boot, kernel cmdline 'quiet splash'
  - umount
- show:
  - finished

branding: tanin
prompt-install: true
dont-chroot: false
oem-setup: false
disable-cancel: false
