vscodium: wire through HM programs.vscode so stylix can theme it

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 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-05-11 21:16:47 +01:00
parent f55c0b9df6
commit d839fe0c3e
2 changed files with 15 additions and 1 deletions

View file

@ -46,4 +46,19 @@ in
cursor-style-blink = true; 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;
};
};
} }

View file

@ -22,7 +22,6 @@
adwsteamgtk adwsteamgtk
protonvpn-gui protonvpn-gui
onlyoffice-desktopeditors onlyoffice-desktopeditors
vscodium
woeusb woeusb
]; ];