.devcontainer: tweaks (#373427)

authored by Pol Dellaiera and committed by GitHub adb6f740 e9b88988

+16 -1
+16 -1
.devcontainer/devcontainer.json
··· 3 3 "image": "mcr.microsoft.com/devcontainers/universal:2-linux", 4 4 "features": { 5 5 "ghcr.io/devcontainers/features/nix:1": { 6 - "multiUser": false 6 + // fails in the devcontainer sandbox, enable sandbox via config instead 7 + "multiUser": false, 8 + "packages": "nixd,nixfmt-unstable", 9 + "extraNixConfig": "experimental-features = nix-command flakes,sandbox = true" 10 + } 11 + }, 12 + "customizations": { 13 + "vscode": { 14 + "extensions": [ 15 + "jnoortheen.nix-ide" 16 + ], 17 + "settings": { 18 + "nix.formatterPath": "nixfmt-rfc-style", 19 + "nix.enableLanguageServer": true, 20 + "nix.serverPath": "nixd" 21 + } 7 22 } 8 23 }, 9 24 "remoteEnv": {