From add8ad9796be2cc5516501d17b779f22335e3505 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Wed, 28 Oct 2026 13:47:43 +0800 Subject: [PATCH] chore(home): remove VS Code --- README.md | 3 +-- home/linux/gui/base/README.md | 1 - home/linux/gui/base/vscode.nix | 21 --------------------- home/linux/gui/base/xdg/mime.nix | 3 --- hosts/idols-ai/preservation.nix | 4 ---- modules/darwin/apps.nix | 3 --- 6 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 home/linux/gui/base/vscode.nix diff --git a/README.md b/README.md index dff50a90..5dfcda0e 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,7 @@ Wallpapers: https://github.com/ryan4yin/wallpapers - **Terminal editors:** [./home/base/core/editors/](./home/base/core/editors/) — Helix / Neovim, `$EDITOR`, docs. -- **GUI editors:** [Zed](./home/base/gui/zed-editor.nix) (primary) and - [VS Code](./home/linux/gui/base/vscode.nix). +- **GUI editor:** [Zed](./home/base/gui/zed-editor.nix). - **LLM coding agents:** [./agents](./agents/) — rules, installers, CLI snippets; see [./agents/README.md](./agents/README.md). diff --git a/home/linux/gui/base/README.md b/home/linux/gui/base/README.md index e3a552f2..f881812f 100644 --- a/home/linux/gui/base/README.md +++ b/home/linux/gui/base/README.md @@ -83,7 +83,6 @@ Noctalia consolidates functionality that previously required multiple tools: - **[`desktop-tools.nix`](./desktop-tools.nix)**: Wayland session tools (clipboard, brightness, screen recording, auto-mount, virt-manager/virt-viewer, `wlogout` emergency fallback) - **[`browsers.nix`](./browsers.nix)**: Web browsers -- **[`vscode.nix`](./vscode.nix)**: VS Code - **[`media.nix`](./media.nix)**: Audio control, mpv, go-musicfox, an image viewer, GPU video diagnostics, Zoom (x86_64 only), and EasyEffects loudness normalization - **[`gaming.nix`](./gaming.nix)**: Gaming applications diff --git a/home/linux/gui/base/vscode.nix b/home/linux/gui/base/vscode.nix deleted file mode 100644 index 64e2469e..00000000 --- a/home/linux/gui/base/vscode.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - lib, - pkgs-master, - ... -}: - -{ - programs.vscode = { - # Extensions and settings are managed by VS Code's built-in Settings Sync, - # not declaratively here (persisted via `.config/Code`, see preservation). - enable = true; - package = pkgs-master.vscode.override { - commandLineArgs = [ - # https://code.visualstudio.com/docs/configure/settings-sync#_recommended-configure-the-keyring-to-use-with-vs-code - # For use with any package that implements the Secret Service API - # (for example gnome-keyring, kwallet5, KeepassXC) - "--password-store=gnome-libsecret" - ]; - }; - }; -} diff --git a/home/linux/gui/base/xdg/mime.nix b/home/linux/gui/base/xdg/mime.nix index 64720dab..137f279f 100644 --- a/home/linux/gui/base/xdg/mime.nix +++ b/home/linux/gui/base/xdg/mime.nix @@ -18,7 +18,6 @@ "firefox.desktop" ]; editor = [ - "code.desktop" "dev.zed.Zed.desktop" "nvim.desktop" "Helix.desktop" @@ -48,8 +47,6 @@ "x-scheme-handler/ftp" = browser; # open `ftp:` url with `browser` "x-scheme-handler/http" = browser; "x-scheme-handler/https" = browser; - # https://github.com/microsoft/vscode/issues/146408 - "x-scheme-handler/vscode" = [ "code-url-handler.desktop" ]; # open `vscode://` url with `code-url-handler.desktop` "x-scheme-handler/zoommtg" = [ "Zoom.desktop" ]; # all other unknown schemes will be opened by this default application. diff --git a/hosts/idols-ai/preservation.nix b/hosts/idols-ai/preservation.nix index 3ee450df..1e3598d1 100644 --- a/hosts/idols-ai/preservation.nix +++ b/hosts/idols-ai/preservation.nix @@ -171,10 +171,6 @@ in # IDE / Editors # ====================================== - # vscode - ".vscode" - ".config/Code" - # zed ".config/zed" ".local/share/zed" diff --git a/modules/darwin/apps.nix b/modules/darwin/apps.nix index 290ab4ed..8ea3b318 100644 --- a/modules/darwin/apps.nix +++ b/modules/darwin/apps.nix @@ -147,9 +147,6 @@ in "ghostty" # terminal emulator - # code editor - "visual-studio-code" - # AI agents "codex-app" # codex desktop app