kumaOS: A Declarative, Atomic, and Immutable Linux Distribution Built on Fedora

Introduction

The Linux ecosystem continues to evolve with innovative distributions that focus on reliability, flexibility, and system management. One interesting project in this area is kumaOS, an open-source Linux distribution developed by Letdown2491.

kumaOS introduces a declarative approach to operating system configuration, allowing users to describe their entire system through a single TOML configuration file. Instead of manually configuring every component, users define what their computer should contain, and kumaOS builds a complete system image based on that declaration.

Built on Fedora bootc, kumaOS combines immutable infrastructure, atomic updates, and a modern desktop environment. Its main goal is to make Linux systems easier to reproduce, maintain, and recover.

The project's philosophy is summarized by a simple concept: your entire system can be described in one file.

A Declarative Approach to Linux Configuration

One of the most distinctive features of kumaOS is its declarative configuration model.

Traditional Linux distributions often require users to install applications, enable services, and modify system settings individually. Over time, these changes can make systems difficult to reproduce or maintain.

kumaOS addresses this challenge by allowing users to define their desired system configuration in a single TOML file.

This configuration can include:

  • Desktop environment selection.

  • User account and shell configuration.

  • RPM packages and Flatpak applications.

  • Command-line tools managed through Homebrew.

  • System services.

  • Automatic snapshots.

  • Backup configuration.

  • Application permissions and security overrides.

The kuma command-line utility processes this declaration and generates a complete system image.

This approach makes it easier to maintain consistent configurations across multiple computers.

Fedora bootc as Its Foundation

kumaOS is built on Fedora bootc, a technology designed for container-based operating system management.

Fedora provides the underlying packages and Linux kernel, while kumaOS manages the system image and ensures that the installed machine follows the configuration defined by the user.

This architecture provides several advantages.

First, system updates are applied as complete images rather than as individual modifications to the running operating system. Second, users can return to a previous deployment if an update causes problems.

The atomic update model helps reduce the risk of partially applied system changes.

kumaOS also supports rollback mechanisms and automatic recovery when a new deployment cannot successfully boot into a healthy system.

A Modern Desktop Powered by Niri and kumaUI

The default desktop environment in kumaOS is based on Niri, a scrollable-tiling Wayland compositor.

Unlike traditional desktop environments that primarily organize windows in overlapping layouts, Niri provides a distinctive window-management experience based on horizontal scrolling columns.

To complement Niri, kumaOS includes kumaUI, a custom desktop shell designed specifically for the distribution.

kumaUI provides several integrated components, including:

  • A top bar for system information and desktop controls.

  • An application launcher for accessing installed software.

  • Drawer panels for convenient system interactions.

  • A lock screen.

  • A built-in file manager.

  • A terminal emulator.

  • A system monitor.

  • An update indicator for managing pending system updates.

One particularly useful feature is the Kuma Updates indicator. It highlights available security updates and allows users to stage updates directly from the desktop interface.

Users can also select COSMIC as an experimental desktop option, while a configuration without a desktop environment produces a headless system image.

The kuma Command-Line Tool

The kuma command-line utility is the central management tool of the distribution.

It translates the TOML declaration into an operating system image and provides commands for managing deployments.

The basic workflow consists of three commands:

kuma check
kuma build
kuma switch

Each command performs a different task:

  • kuma check validates the configuration.

  • kuma build creates a new system image.

  • kuma switch prepares the new deployment for the next boot.

This workflow ensures that modifications are reviewed and built before becoming active.

kumaOS also provides additional commands for everyday maintenance:

  • kuma upgrade updates the system to a newer release.

  • kuma rollback returns to a previous deployment.

  • kuma sync synchronizes the installed system with its declaration.

  • kuma diff displays differences between the system and configuration.

  • kuma capture records existing system changes as configuration proposals.

  • kuma clean removes unnecessary build artifacts.

These tools make system administration more predictable and easier to understand.

Package Management and Application Installation

kumaOS supports several package management approaches, each serving a different purpose.

RPM packages

RPM packages are included directly in the system image. Changes to this package list are applied through a new image deployment and become active after rebooting.

Flatpak applications

Flatpak packages are installed on the running system, allowing users to manage desktop applications independently of the base operating system image.

Homebrew command-line tools

Homebrew provides another way to install command-line utilities. These tools can be installed without rebuilding the operating system image.

This combination provides flexibility while maintaining the distribution's declarative philosophy.

Security and System Reliability

Security is an important part of kumaOS's design.

The distribution includes several security-hardening measures inspired by the secureblue project.

These measures include restricted ptrace access, hidden kernel pointers, disabled core dumps, a firewall with no default incoming network openings, authenticated time synchronization, and account lockout after failed login attempts.

Another important aspect is the use of atomic deployments.

Because updates are prepared as complete system images, users can retain previous deployments and roll back when necessary.

kumaOS also supports read-only Btrfs snapshots of /var/home, with hourly snapshots available when enabled in the configuration.

Backup functionality can also be configured to use an S3-compatible storage repository.

Together, these features provide useful tools for protecting system stability and user data.

Local-First Development Philosophy

Another interesting aspect of kumaOS is its local-first approach.

Building a system image does not require a forge account, remote CI service, or container registry. Users only need Podman to build their system locally.

This reduces dependencies on external infrastructure and gives users more control over their operating system development workflow.

The project also includes JSON output for its command-line interface, making it easier for automation tools and AI agents to understand available commands and system operations.

This makes kumaOS an interesting project for developers exploring automated system management.

Installation and Getting Started

Users can obtain the installation ISO from the project's GitHub releases.

The repository provides an x86-64 installation image and a standalone kuma binary for building system images on an existing machine.

The official documentation also provides a getting-started guide that explains the process from downloading installation media to deploying a configured system.

For users who want to experiment before installing the distribution on physical hardware, the project recommends testing configurations in a virtual machine using the kuma vm workflow.

This is especially important because the project is still relatively new and has not yet been tested widely across different hardware configurations.

Current Limitations

Although kumaOS offers several interesting features, users should understand its current limitations.

The installer currently uses a fixed three-partition layout. Installing alongside another operating system or creating a custom fourth partition requires additional tools.

The distribution also does not currently provide proprietary NVIDIA drivers. It includes NVIDIA firmware and the open-source Nouveau driver instead.

These limitations are important considerations for users planning to install kumaOS on specialized hardware or complex storage configurations.

Conclusion

kumaOS represents an interesting approach to modern Linux distribution development. By combining Fedora bootc, declarative configuration, atomic updates, and a custom Niri-based desktop environment, it provides a distinctive platform for users who value reproducibility and system reliability.

Its single-file configuration model makes system management more structured, while the kuma command-line utility simplifies building, deploying, synchronizing, and rolling back operating system images.

The integration of kumaUI also gives the distribution its own desktop identity, combining modern window management with practical everyday tools.

Although kumaOS is still developing and has some hardware and installation limitations, it offers an exciting direction for immutable Linux systems.

For Linux enthusiasts, system administrators, developers, and open-source supporters interested in declarative operating systems, kumaOS is definitely a project worth exploring.

Official Repository: https://github.com/Letdown2491/kumaOS

Base System: Fedora bootc

Desktop Environment: Niri with kumaUI

Configuration Format: TOML

Architecture: x86-64

License: MIT

Post a Comment for "kumaOS: A Declarative, Atomic, and Immutable Linux Distribution Built on Fedora"