mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
.devcontainer: tweaks
This commit is contained in:
parent
52a4644715
commit
e9c59776b3
1 changed files with 16 additions and 1 deletions
|
@ -3,7 +3,22 @@
|
|||
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",
|
||||
"features": {
|
||||
"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": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue