name: corona
description: Corona - KDE desktop environment variant (Debian implementation of ublue-os aurora)
base-image: debian:trixie-slim
image-version: "13"

stages:
  - type: org.osbuild.debian.sources
    options:
      mirror: "https://deb.debian.org/debian"
      suite: "trixie"
      components: ["main", "contrib", "non-free"]
      apt_cacher_ng: "http://192.168.1.101:3142"
      additional_sources:
        - "deb http://192.168.1.101:3142/HTTPS///get.docker.com/ubuntu docker main"
        - "deb http://192.168.1.101:3142/HTTPS///packages.cloud.google.com/apt cloud-sdk main"
      
  - type: org.osbuild.debian.apt
    options:
      packages:
        # Core system
        - curl
        - wget
        - vim
        - less
        - locales
        - ca-certificates
        - tzdata
        - apt-transport-https
        - gnupg
        
        # KDE Plasma Desktop
        - kde-plasma-desktop
        - kde-standard
        - sddm
        - plasma-nm
        - plasma-pa
        - kdeconnect
        - kscreen
        - kwin-x11
        - kwin-wayland
        
        # KDE Applications
        - dolphin
        - konsole
        - kate
        - gwenview
        - okular
        - ktorrent
        - k3b
        - kaffeine
        - amarok
        
        # Multimedia
        - vlc
        - mpv
        - ffmpeg
        - gimp
        - inkscape
        - krita
        - kdenlive
        - audacity
        
        # Development tools
        - build-essential
        - git
        - python3
        - python3-pip
        - nodejs
        - npm
        
        # Container tools
        - docker.io
        - podman
        - flatpak
        
        # System utilities
        - htop
        - iotop
        - net-tools
        - openssh-server
        - ufw
        - fail2ban
        - timeshift
        - bleachbit
        
        # Gaming support
        - gamemode
        - steam
        - lutris
        - wine
        - winetricks
        
        # Office applications
        - libreoffice
        - libreoffice-kde
        - thunderbird
        - firefox-esr
        
        # Additional KDE packages
        - kde-config-gtk-style
        - kde-config-screenlocker
        - kde-config-sddm
        - kde-config-plymouth
        - kde-config-systemd
      update: true
      clean: true
      
  - type: org.osbuild.debian.locale
    options:
      language: en_US.UTF-8
      default_locale: en_US.UTF-8
      additional_locales:
        - "de_DE.UTF-8"
        - "fr_FR.UTF-8"
        - "es_ES.UTF-8"
      
  - type: org.osbuild.debian.timezone
    options:
      timezone: UTC
      
  - type: org.osbuild.debian.users
    options:
      users:
        corona:
          password: "$6$rounds=656000$salt$hashedpassword"
          shell: /bin/bash
          groups: ["users", "sudo", "docker", "kvm", "video", "audio"]
          uid: 1000
          gid: 1000
          home: /home/corona
          comment: "Corona User"
        developer:
          password: "$6$rounds=656000$salt$hashedpassword"
          shell: /bin/bash
          groups: ["users", "sudo", "docker", "video"]
          uid: 1001
          gid: 1001
          home: /home/developer
          comment: "Developer User"
      default_shell: /bin/bash
      default_home: /home
      
  - type: org.osbuild.qemu
    options:
      formats: ["raw", "qcow2", "vmdk", "vdi"]
      size: "25G"
      filename: "corona"

output:
  formats: ["raw", "qcow2", "vmdk", "vdi"]
  size: "25G"
  path: "corona"

metadata:
  author: "particle-os"
  category: "desktop"
  tags: ["corona", "kde", "plasma", "desktop", "apt-cacher-ng"]
  apt_cacher_ng: "http://192.168.1.101:3142"
  description: "Corona - KDE desktop environment variant (Debian implementation of ublue-os aurora)"
  based_on: "ublue-os aurora"
  target_audience: "KDE desktop users, multimedia creators, developers"
