From d839fe0c3ec0cff1b43b0b6cefb5d08254935d19 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Mon, 11 May 2026 21:16:47 +0100 Subject: [PATCH] vscodium: wire through HM programs.vscode so stylix can theme it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stylix's vscode target injects workbench.colorCustomizations via the HM programs.vscode module — it can't reach a system-package install. Move vscodium to programs.vscode with mutableExtensionsDir = true so GUI-installed extensions stay put, and preserve the six user settings that aren't colour-related. Co-Authored-By: Claude Opus 4.7 --- home-manager/fred.nix | 15 +++++++++++++++ hosts/FredOS-Gaming.nix | 1 - 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/home-manager/fred.nix b/home-manager/fred.nix index 0b70a93..69a5172 100644 --- a/home-manager/fred.nix +++ b/home-manager/fred.nix @@ -46,4 +46,19 @@ in cursor-style-blink = true; }; }; + + # VSCodium — stylix's vscode target injects workbench.colorCustomizations. + # mutableExtensionsDir keeps GUI-installed extensions working. + programs.vscode = lib.mkIf isDesktop { + enable = true; + package = pkgs.vscodium; + mutableExtensionsDir = true; + profiles.default.userSettings = { + "window.menuBarVisibility" = "compact"; + "window.commandCenter" = false; + "claudeCode.preferredLocation" = "panel"; + "git.enableSmartCommit" = true; + "git.autofetch" = true; + }; + }; } diff --git a/hosts/FredOS-Gaming.nix b/hosts/FredOS-Gaming.nix index 42d5ff9..0fd3805 100644 --- a/hosts/FredOS-Gaming.nix +++ b/hosts/FredOS-Gaming.nix @@ -22,7 +22,6 @@ adwsteamgtk protonvpn-gui onlyoffice-desktopeditors - vscodium woeusb ];