From cdc31f6d52a2acf4ea6d3c62dff3e82523a60926 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Fri, 15 Nov 2024 00:48:24 +0000 Subject: [PATCH] fix(devenv): Ignore generated files --- .devcontainer/Dockerfile | 1 - .devcontainer/devcontainer.json | 59 --------------------------------- .gitignore | 2 ++ 3 files changed, 2 insertions(+), 60 deletions(-) delete mode 100644 .devcontainer/Dockerfile delete mode 100644 .devcontainer/devcontainer.json create mode 100644 .gitignore diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index c502a45..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1 +0,0 @@ -FROM ghcr.io/xtruder/nix-devcontainer:v1 \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index bab7f97..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -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", - } \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0ae4c94 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.devenv +.direnv \ No newline at end of file