t14_legacy_config/home/gui/desktop/vscode.nix
2022-10-19 11:16:39 -06:00

60 lines
1.8 KiB
Nix

{config, lib, pkgs, ...} :
with lib;
{
programs.vscode = mkIf ( !config.home.isolation.active ) {
enable = true;
package = pkgs.vscodium;
haskell = {
enable = true;
hie.enable = false;
};
mutableExtensionsDir = false;
extensions = (with pkgs.vscode-extensions; [
bbenoist.nix
ms-toolsai.jupyter
ms-vscode.cpptools
]) ++ (with pkgs.local.vscode-extensions; [
laurenttreguier.vscode-simple-icons
rust-lang.rust
sirtori.indenticator
toasty-technologies.octave
Gimly81.matlab
zhwu95.riscv
tomoki1207.pdf
vscode-icons-team.vscode-icons
dan-c-underwood.arm
mshr-h.VerilogHDL
rashwell.tcl
xshrim.txt-syntax
ZixuanWang.linkerscript
hediet.vscode-drawio
aaron-bond.better-comments
johnpapa.vscode-peacock
streetsidesoftware.code-spell-checker
wayou.vscode-todo-highlight
xaver.clang-format
yzhang.markdown-all-in-one
christian-kohler.path-intellisense
]);
userSettings = {
"files.autoSave" = "onFocusChange";
"explorer.confirmDelete" = false;
"explorer.confirmDragAndDrop" = false;
"security.workspace.trust.enabled" = false;
"workbench.startupEditor" = "none";
"workbench.colorTheme" = "Default High Contrast";
"editor.mouseWheelZoom" = true;
"editor.cursorSmoothCaretAnimation" = true;
"workbench.list.smoothScrolling" = true;
"editor.smoothScrolling" = true;
"editor.rulers" = [80 120];
"workbench.iconTheme" = "vscode-icons";
"workbench.editor.untitled.hint" = "hidden";
"editor.autoClosingDelete" = "never";
"editor.autoClosingOvertype" = "never";
"editor.autoClosingBrackets" = "never";
"editor.autoClosingQuotes" = "never";
};
};
}