fix(devenv): Ignore generated files
This commit is contained in:
parent
4f712fea76
commit
cdc31f6d52
3 changed files with 2 additions and 60 deletions
|
@ -1 +0,0 @@
|
|||
FROM ghcr.io/xtruder/nix-devcontainer:v1
|
|
@ -1,59 +0,0 @@
|
|||
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or the definition README at
|
||||
// https://github.com/microsoft/vscode-dev-containers/tree/master/containers/docker-existing-dockerfile
|
||||
{
|
||||
"name": "MarleyOS",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"context": "${localWorkspaceFolder}",
|
||||
"args": {
|
||||
"USER_UID": "${localEnv:USER_UID}",
|
||||
"USER_GID": "${localEnv:USER_GID}"
|
||||
}
|
||||
},
|
||||
|
||||
// run arguments passed to docker
|
||||
"runArgs": [
|
||||
"--security-opt", "label=disable"
|
||||
],
|
||||
|
||||
"containerEnv": {
|
||||
// extensions to preload before other extensions
|
||||
"PRELOAD_EXTENSIONS": "arrterian.nix-env-selector"
|
||||
},
|
||||
|
||||
// disable command overriding and updating remote user ID
|
||||
"overrideCommand": false,
|
||||
"userEnvProbe": "loginShell",
|
||||
"updateRemoteUserUID": false,
|
||||
|
||||
// build development environment on creation, make sure you already have shell.nix
|
||||
"onCreateCommand": "nix develop",
|
||||
|
||||
// Add the IDs of extensions you want installed when the container is created.
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
// select nix environment
|
||||
"arrterian.nix-env-selector",
|
||||
|
||||
// extra extensions
|
||||
//"fsevenm.run-it-on",
|
||||
"jnoortheen.nix-ide",
|
||||
|
||||
// theme
|
||||
"mvllow.rose-pine"
|
||||
],
|
||||
"settings": {
|
||||
"workbench.colorTheme": "Rosé Pine Dawn",
|
||||
"editor.fontFamily": "'Maple Mono', Consolas, 'Courier New', monospace",
|
||||
"editor.fontLigatures": "'cv02, ss01, ss02, ss03, ss04, ss05'"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
"forwardPorts": []
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
// "postCreateCommand": "go version",
|
||||
}
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.devenv
|
||||
.direnv
|
Loading…
Reference in a new issue