Skip to content
Projets

À propos

A zero-dependency Arch Linux installer with a clean TUI built from scratch in C.

Apprentissage et éducation

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Tonarchy

assets/tonarchy.png

A zero-dependency Arch Linux installer with a clean TUI built from scratch in C.

Status: Alpha - Beginner (XFCE) and Oxidized (OXWM) modes functional, Wayland (Niri) coming soon

Philosophy

Tonarchy is designed to take users from zero to hero with an opinionated beginner mode that sets up a complete, working Linux desktop environment. No choices, no confusion - just a solid foundation to start learning.

For experienced users, the Oxidized mode provides a minimal OXWM setup.

Installation Modes

Beginner (XFCE)

Opinionated setup with XFCE desktop, essential applications, and sane defaults. Perfect for your first Linux installation.

Oxidized (OXWM)

Minimal setup with OXWM (Rust/Lua window manager), Alacritty, and Thunar. Lightweight tiling with Lua configuration.

Keybindings

General (XFCE Beginner Mode)

KeyAction
Super+ReturnTerminal (Alacritty)
Super+dApp Launcher (Rofi)
Super+eFile Manager (Thunar)
Super+qClose Window
Super+fMaximize Window
Super+Shift+fFullscreen

Window Management

KeyAction
Super+jCycle Windows
Super+kCycle Windows Reverse
Super+LeftTile Left
Super+RightTile Right
Super+UpTile Up
Super+DownTile Down

Workspaces

KeyAction
Super+1-9Switch to Workspace
Super+Shift+1-9Move Window to WS
Super+TabNext Workspace
Super+Shift+TabPrevious Workspace

Technical Highlights

Zero dependencies
Raw terminal control using termios + ANSI codes (no ncurses)
Single C file
Entire installer in ~1500 lines of C
Fuzzy finding
fzf integration for keyboard and timezone selection
Static binary
Ships as a single static executable on the ISO

Requirements

  • UEFI or BIOS system
  • Internet connection
  • Boot from Tonarchy ISO

Beginner Mode Setup

The beginner installation handles everything:

Desktop Environment

  • XFCE with preconfigured keybindings
  • Autologin via getty (no display manager)
  • Adwaita-dark theme

Applications

  • Firefox (with uBlock Origin, Dark Reader)
  • Neovim
  • Alacritty terminal
  • Thunar file manager
  • VLC media player
  • Rofi launcher

System Configuration

  • Locale: en_US.UTF-8
  • Timezone: User selected via fzf
  • Keyboard: User selected via fzf
  • NetworkManager enabled
  • Sudo configured for wheel group

Disk Layout (UEFI)

  • 1GB FAT32 EFI partition
  • 4GB swap partition
  • Remaining space for ext4 root

Disk Layout (BIOS)

  • 4GB swap partition
  • Remaining space for ext4 root (bootable)

Roadmap

  • [X] XFCE Beginner Mode
  • [X] Oxidized Mode (OXWM)
  • [X] BIOS support
  • [ ] MangoWC Wayland Mode
  • [ ] Encrypted disk support
  • [ ] Multi-disk configurations
  • [ ] DIY Mode

Building the ISO

On Arch Linux

make build_iso
./build_iso --container podman

Or natively (requires archiso and musl):

make build_iso
./build_iso

On NixOS

nix run .#build_iso -- --container podman

Testing

make test-nix   # NixOS
make test       # Arch

License

GPL

Explorer des projets similaires

Chargement…