No description
  • Nix 79.4%
  • Lua 15.7%
  • HCL 3.5%
  • Shell 1.4%
Find a file
Lameur 99b47dae43
All checks were successful
Build devcontainers / build (lua-slim) (push) Successful in 9m21s
Build devcontainers / build (web-slim) (push) Successful in 9m40s
Build devcontainers / build (cpp-slim) (push) Successful in 9m54s
Build devcontainers / build (python-slim) (push) Successful in 10m17s
Build devcontainers / build (arduino-slim) (push) Successful in 11m0s
Build devcontainers / build (rust-slim) (push) Successful in 18m59s
Build devcontainers / build (global-slim) (push) Successful in 19m41s
Build devcontainers / build (web-full) (push) Successful in 15m53s
Build devcontainers / build (arduino-full) (push) Successful in 17m40s
Build devcontainers / build (python-full) (push) Successful in 18m12s
Build devcontainers / build (lua-full) (push) Successful in 18m23s
Build devcontainers / build (cpp-full) (push) Successful in 19m2s
Build devcontainers / build (rust-full) (push) Successful in 21m15s
Build devcontainers / build (global-full) (push) Successful in 24m43s
Build devcontainers / verify (push) Successful in 35s
Build devcontainers / synthese (push) Successful in 2s
Rework of legacy and finish attic caching.
Signed-off-by: Lameur <adam.auclair@outlook.fr>
2026-05-02 18:48:15 +02:00
.devcontainer Nix update 2026-05-01 21:33:07 +02:00
.devcontainer-slim Big update to minimise images size 2026-05-02 17:00:48 +02:00
.forgejo Rework of legacy and finish attic caching. 2026-05-02 18:48:15 +02:00
.mise Fix des perms et du système de build 2026-05-02 09:59:16 +02:00
.vscode Nix update 2026-05-01 21:33:07 +02:00
devcontainers Fix summary and cpp layer 2026-05-02 18:22:36 +02:00
tasks Rework of legacy and finish attic caching. 2026-05-02 18:48:15 +02:00
.envrc init 2026-04-27 00:05:07 +02:00
devcontainers.code-workspace init 2026-04-27 00:05:07 +02:00
docker-bake.hcl Level up the CI/CD build system 2026-05-01 14:11:36 +02:00
flake.lock Formatted and add an auto update to the nix-channel 2026-05-02 17:22:51 +02:00
flake.nix Formatted and add an auto update to the nix-channel 2026-05-02 17:22:51 +02:00
git-town.toml Nix update 2026-05-01 21:33:07 +02:00
IMPLEMENTATION.md Big update to minimise images size 2026-05-02 17:00:48 +02:00
LICENSE.txt Nix update 2026-05-01 21:33:07 +02:00
mise.toml Removed mise for CI since it was buggy 2026-05-02 10:12:40 +02:00
README.md Level up the CI/CD build system 2026-05-01 14:11:36 +02:00

🦀 Ultimate Devcontainer

Setup de développement polyglot — Rust, Web, C/C++, Python, Lua, Arduino.

Structure

.
├── .devcontainer/
│   ├── devcontainer.json     # Config VSCode devcontainer
│   ├── Dockerfile            # Image Docker/Podman
│   └── docker-compose.yml   # Orchestration + volumes persistants
├── flake.nix                 # DevShell Nix (direnv)
└── .envrc                    # Auto-activation direnv

Utilisation

Option 1 — Nix flake (recommandé sur NixOS)

nix develop

Option 2 — VSCode Devcontainer (Docker/Podman)

  1. Ouvrir le dossier dans VSCode
  2. Ctrl+Shift+PDev Containers: Reopen in Container
  3. Attendre le build (~5 min la première fois)

Option 3 — Docker Compose direct

cd .devcontainer
docker compose up -d
docker compose exec dev zsh

Langages & outils inclus

Langage Outils
Rust rustup stable, rust-analyzer, clippy, mold, cargo-watch, cargo-nextest, wasm-pack
Web Node 22, Bun, TypeScript, ESLint, Prettier, pnpm
C/C++ Clang, clangd, CMake, Ninja, GDB, LLDB, Valgrind
Python Python 3.13, uv, ruff, pyright
Lua Lua 5.4, lua-language-server, stylua
Arduino PlatformIO, arduino-cli, avrdude
Terminal lazygit, fzf, ripgrep, bat, eza, zoxide, starship

Ports forwardés

Port Usage
3000 Dev web général
5173 Vite
8080 Serveur général
8008 Trunk (WASM)

Arduino / USB

Les devices /dev/ttyUSB0 et /dev/ttyACM0 sont montés automatiquement. Assure-toi d'être dans le groupe dialout sur l'hôte :

sudo usermod -aG dialout $USER