name: simple-cli
description: Simple CLI-focused Debian-based particle-os system
base-image: debian:trixie-slim
image-version: "13"

# Build configuration
build:
  containerfile: Containerfile
  registry: localhost
  tag: simple-cli:latest

# Package management
packages:
  system:
    - systemd
    - systemd-sysv
    - udev
    - procps
    - util-linux
    - mount
    - passwd
    - login
    - bash
    - coreutils
    - ostree
    - ostree-boot
    - linux-image-amd64
    - linux-headers-amd64
    - initramfs-tools
    - curl
    - wget
    - vim
    - less
    - locales
    - ca-certificates
    - tzdata
    - podman-toolbox
    - distrobox
    - flatpak
    - uidmap
    - libsubid5
    - bash-completion

# Configuration files to layer
files:
  - source: usr/
    destination: /usr/
  - source: etc/
    destination: /etc/
  - source: config/
    destination: /config/
  - source: etc/containers/toolbox.conf
    destination: /etc/containers/toolbox.conf
  - source: etc/profile.d/toolbox.sh
    destination: /etc/profile.d/toolbox.sh
  - source: usr/lib/tmpfiles.d/toolbox.conf
    destination: /usr/lib/tmpfiles.d/toolbox.conf
  - source: etc/distrobox/docker.ini
    destination: /etc/distrobox/docker.ini
  - source: etc/distrobox/podman.ini
    destination: /etc/distrobox/podman.ini

# Firstboot configuration
firstboot:
  - usr/share/particle-os/firstboot/setup-system.sh
  - usr/share/particle-os/firstboot/configure-network.sh

# ujust commands
ujust:
  - usr/share/particle-os/just/simple-cli.just

# System configuration
system:
  locale: en_US.UTF-8
  timezone: UTC
  user: simple
  shell: /bin/bash

# OSTree configuration
ostree:
  repo: simple-cli-repo
  branch: simple-cli/debian-trixie
  mode: archive

# Boot configuration
boot:
  bootloader: bootupd
  kernel: linux-image-amd64
  initramfs: initramfs-tools
