.devcontainer: tweaks
This commit is contained in:
committed by
FliegendeWurst
parent
52a4644715
commit
e9c59776b3
@@ -3,7 +3,22 @@
|
|||||||
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
|
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
|
||||||
"features": {
|
"features": {
|
||||||
"ghcr.io/devcontainers/features/nix:1": {
|
"ghcr.io/devcontainers/features/nix:1": {
|
||||||
"multiUser": false
|
// fails in the devcontainer sandbox, enable sandbox via config instead
|
||||||
|
"multiUser": false,
|
||||||
|
"packages": "nixd,nixfmt-unstable",
|
||||||
|
"extraNixConfig": "experimental-features = nix-command flakes,sandbox = true"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"customizations": {
|
||||||
|
"vscode": {
|
||||||
|
"extensions": [
|
||||||
|
"jnoortheen.nix-ide"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"nix.formatterPath": "nixfmt-rfc-style",
|
||||||
|
"nix.enableLanguageServer": true,
|
||||||
|
"nix.serverPath": "nixd"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"remoteEnv": {
|
"remoteEnv": {
|
||||||
|
|||||||
Reference in New Issue
Block a user