We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b4a862 commit 0875bd0Copy full SHA for 0875bd0
2 files changed
development-environments/devcontainers/.devcontainer/devcontainer.json
@@ -3,11 +3,13 @@
3
"image": "mcr.microsoft.com/devcontainers/java",
4
5
"features": {
6
- "ghcr.io/thomasvitale/devcontainers-features/flox:1": {},
+ // "ghcr.io/thomasvitale/devcontainers-features/flox:1": {},
7
+ "ghcr.io/devcontainers/features/nix:1": {},
8
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
9
},
10
- "postCreateCommand": "flox activate",
11
+ //"postCreateCommand": "flox activate",
12
+ "postCreateCommand": ".devcontainer/install-flox.sh && flox activate",
13
14
"customizations": {
15
"vscode": {
development-environments/devcontainers/.devcontainer/install-flox.sh
@@ -0,0 +1,6 @@
1
+#!/bin/sh
2
+
+nix profile install \
+ --experimental-features "nix-command flakes" \
+ --accept-flake-config \
+ 'github:flox/flox'
0 commit comments