···1+// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+// README at: https://github.com/devcontainers/templates/tree/main/src/rust
3+{
4+ "name": "Rust",
5+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+ "image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye",
7+ "features": {
8+ "ghcr.io/devcontainers/features/github-cli:1": {},
9+ "ghcr.io/devcontainers/features/nix:1": {}
10+ },
11+12+ // Use 'mounts' to make the cargo cache persistent in a Docker Volume.
13+ // "mounts": [
14+ // {
15+ // "source": "devcontainer-cargo-cache-${devcontainerId}",
16+ // "target": "/usr/local/cargo",
17+ // "type": "volume"
18+ // }
19+ // ]
20+21+ // Features to add to the dev container. More info: https://containers.dev/features.
22+ // "features": {},
23+24+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
25+ // "forwardPorts": [],
26+27+ // Use 'postCreateCommand' to run commands after the container is created.
28+ "postCreateCommand": "nix develop --experimental-features \"nix-command flakes\""
29+30+ // Configure tool-specific properties.
31+ // "customizations": {},
32+33+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
34+ // "remoteUser": "root"
35+}