Dogebox Logo Dogebox

Building OS images

This requires you have the os repository is cloned and available.

This repository contains a nix flake.nix file that describes how the OS should be configured.

Requirements

Building

The nix flake exposes 5 different OS derivations that you can build. These are:

  • .#packages.aarch64-linux.iso
  • .#packages.aarch64-linux.qemu
  • .#packages.aarch64-linux.t6
  • .#packages.x86_64-linux.iso
  • .#packages.x86_64-linux.qemu

You can build these by running the following command:

nix build <target> -L --print-out-paths

Where <target> is one of the above derivations (including the .# prefix).

Passing -L will print logs for the build, and --print-out-paths will print the path to the built image once complete.

On this page