remove VSCodium and nix-ld from config
VSCodium (with its nix-ld/LD_LIBRARY_PATH wrapper for native extension addons) has been removed from home-manager. nix-ld is no longer needed on Gaming or Macbook without it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
18809b9fcb
commit
4fa6dc9f88
3 changed files with 0 additions and 34 deletions
|
|
@ -48,32 +48,4 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# VSCodium — stylix's vscode target injects workbench.colorCustomizations.
|
||||
# mutableExtensionsDir keeps GUI-installed extensions working.
|
||||
programs.vscode = lib.mkIf isDesktop {
|
||||
enable = true;
|
||||
# Wrap codium so user-installed extension native addons (.node files from
|
||||
# npm) can find libstdc++.so.6 — those binaries have empty RPATHs and
|
||||
# Electron's patched interpreter won't pick up nix-ld's stubs.
|
||||
# The `// { pname; version }` forwards those attrs so programs.vscode's
|
||||
# module (which reads cfg.package.pname) can still identify the variant.
|
||||
package =
|
||||
let base = pkgs.symlinkJoin {
|
||||
name = "vscodium";
|
||||
paths = [ pkgs.vscodium ];
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/codium \
|
||||
--prefix LD_LIBRARY_PATH : "${pkgs.lib.makeLibraryPath [ pkgs.stdenv.cc.cc.lib ]}"
|
||||
'';
|
||||
}; in base // { inherit (pkgs.vscodium) pname version; meta = pkgs.vscodium.meta // { mainProgram = "codium"; }; };
|
||||
mutableExtensionsDir = true;
|
||||
profiles.default.userSettings = {
|
||||
"window.menuBarVisibility" = "compact";
|
||||
"window.commandCenter" = false;
|
||||
"claudeCode.preferredLocation" = "panel";
|
||||
"git.enableSmartCommit" = true;
|
||||
"git.autofetch" = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,11 +32,6 @@
|
|||
nix.settings.max-jobs = 1;
|
||||
nix.settings.builders-use-substitutes = true;
|
||||
|
||||
programs.nix-ld.enable = true;
|
||||
programs.nix-ld.libraries = with pkgs; [
|
||||
stdenv.cc.cc.lib # libstdc++.so.6 — needed by VSCodium extension native addons (e.g. sqlite3 in Continue)
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
nix.settings.max-jobs = 0;
|
||||
|
||||
services.tlp.enable = false;
|
||||
programs.nix-ld.enable = true;
|
||||
services.power-profiles-daemon.enable = true;
|
||||
|
||||
boot.loader.systemd-boot.configurationLimit = 5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue