Files
nix-config/home-manager/code.nix
2025-01-04 19:49:21 +01:00

17 lines
496 B
Nix

{ osConfig, config, pkgs, inputs, lib, ... }: {
config = lib.mkIf osConfig.custom.graphical.code.enable {
programs.vscode = {
enable = true;
package = pkgs.vscodium;
userSettings = { typst-lsp.exportPdf = "onType"; };
extensions = with pkgs.vscode-extensions; [
jnoortheen.nix-ide
rust-lang.rust-analyzer
nvarner.typst-lsp
#tomoki1207.pdf latex-workshop is faster to preview pdf
james-yu.latex-workshop
];
};
};
}