add flake
This commit is contained in:
16
.devcontainer/devcontainer.json
Normal file
16
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "Alpine",
|
||||
"image": "mcr.microsoft.com/devcontainers/base:alpine-3.20",
|
||||
"postCreateCommand": "sudo apk add nix nix-dev nix-doc nix-manual nix-bash-completion && sudo chown -R vscode:vscode /nix && mkdir -p ~/.config/nix && echo 'experimental-features = nix-command flakes\n sandbox = false' > ~/.config/nix/nix.conf",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"bbenoist.Nix"
|
||||
]
|
||||
}
|
||||
},
|
||||
"runArgs": [
|
||||
"--userns=keep-id"
|
||||
],
|
||||
"containerUser": "vscode"
|
||||
}
|
||||
Reference in New Issue
Block a user