Skip to content
Skip to the article
In NixOS: 3 articles
Section

NixOS

How we run Frappe, Odoo, and WordPress on declarative, reproducible infrastructure: our open-source Nix projects and a self-hosting reference architecture.

Articles
3
Updated

This section covers running business systems and devices on Nix and NixOS: getting a machine ready, why we use Nix, the self-hosting reference architecture, and where each Avunu Nix project's documentation lives. Frappe, Odoo and WordPress each have a Nix project that provides a development shell and a NixOS module, so the same description builds on a laptop and runs on a server. Their documentation lives with each project.

Getting Started

New to Nix? The official Nix documentation and NixOS manual are good starting points. Then read why we use it, and when we would not.

Project documentation

Each Avunu Nix project keeps its own documentation next to its code, so it changes with the project. It is published at docs.avunu.net.

  • frappe-nix — Frappe and ERPNext benches: the development shell, production images, the services.frappe-nix NixOS module and app standards.

  • odoo-nix — Odoo Community and OCA projects: the development shell, the odoo command, the services.odoo-nix NixOS module and repository standards.

  • wordpress-nix — Read-only Bedrock WordPress sites on FrankenPHP: the build, the NixOS module, site CI and converting a legacy site.

  • web_kiosk — A bootable NixOS image that opens Firefox in kiosk mode on one URL and joins your WiFi automatically.

  • nixos-micro-desktop — A lean, self-maintaining NixOS desktop with a choice of three shells, declarative disks and automatic updates.

  • nixos-rclone — Live rclone mounts and event-driven two-way sync on NixOS, including Markdown to Google Docs conversion for an Obsidian vault.

Hosting Architecture

This section is in the public domain (CC0 1.0), code samples included. Use it however helps you.