Skip to content

Nix Flake Setup

Set up InfraKitchen using Nix for a reproducible development environment.


🚀 Quick Start

If you don't have Nix installed:

Bash
# Official installer (recommended)
curl -L https://nixos.org/nix/install | sh -s -- --daemon

Clone the repository and run:

Bash
nix develop

Access at http://localhost:7777 and log in with Guest user.


⚙️ Enable Experimental Features

If you see error: experimental Nix feature 'nix-command' is disabled:

Add to /etc/nix/nix.conf (or ~/.config/nix/nix.conf on macOS):

Text Only
experimental-features = nix-command flakes

Then restart the Nix daemon or run with flag:

Bash
nix --extra-experimental-features 'nix-command flakes' develop

📦 What's Included

The Nix shell automatically sets up:

  • Python 3.14 with backend dependencies
  • Node.js with frontend dependencies
  • PostgreSQL, RabbitMQ
  • Development tools (ruff, pyright, prettier, eslint)

All isolated from your system.


🛠️ Common Commands

To exit the Nix shell, type exit or press Ctrl+D.


➡️ Next Steps