devenv
devenv copied to clipboard
Devenv.nix doesn't support devcontainer features settings
Describe the bug
I would like to create a devcontainer that uses features.
If I manually edit the .devcontainer.json to add the features I want, at the next devenv shell command, the file is overwritten and my changes lost
To reproduce
- Add the line
devcontainer.enable = true;to devenv.nix - run
devenv shellto generate a default .devcontainer.json - manually edit .devcontainer.json to add
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
},
- run again
devenv shelland see those changes lost
Version
devenv: 0.6.2
Did you tried:
devcontainer.settings.features = {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1" = {};
};