37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{ pkgs, inputs, ... }:
|
|
{
|
|
programs.vscode = {
|
|
enable = true;
|
|
extensions = with inputs.nix-vscode.extensions.x86_64-linux.vscode-marketplace; [
|
|
rust-lang.rust-analyzer
|
|
ocamllabs.ocaml-platform
|
|
jnoortheen.nix-ide
|
|
mkhl.direnv
|
|
barbosshack.crates-io
|
|
vadimcn.vscode-lldb
|
|
kend.dancehelixkey
|
|
hikionori.kanagawa-vscode-theme
|
|
dbaeumer.vscode-eslint
|
|
ms-vscode.extension-test-runner
|
|
];
|
|
mutableExtensionsDir = false;
|
|
userSettings = {
|
|
"window.titleBarStyle" = "custom";
|
|
"editor.fontFamily" = "${pkgs.rice.fonts.monospace.name}";
|
|
"editor.fontSize" = 12;
|
|
"editor.formatOnSave" = true;
|
|
"workbench.colorTheme" = "KanagawaTheme";
|
|
"rust-analyzer.debug.engine" = "vadimcn.vscode-lldb";
|
|
"rust-analyzer.inlayHints.chainingHints.enable" = false;
|
|
"rust-analyzer.inlayHints.parameterHints.enable" = false;
|
|
"rust-analyzer.inlayHints.typeHints.enable" = false;
|
|
"nix.enableLanguageServer" = true;
|
|
"nix.serverPath" = "nil";
|
|
"nix.serverSettings" = {
|
|
nil.formatting.command = [
|
|
"nixfmt"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|