2024-04-28 11:35:35 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
home-manager.users.grape = {
|
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
2024-05-28 02:36:04 +02:00
|
|
|
package = pkgs.unstable.vscodium;
|
2024-04-28 11:35:35 +02:00
|
|
|
extensions = with pkgs.vscode-extensions; [
|
|
|
|
|
|
|
|
# language suports
|
|
|
|
rust-lang.rust-analyzer
|
|
|
|
jnoortheen.nix-ide
|
|
|
|
redhat.java
|
|
|
|
redhat.vscode-yaml
|
|
|
|
ms-azuretools.vscode-docker
|
|
|
|
octref.vetur
|
|
|
|
bungcip.better-toml
|
|
|
|
mikestead.dotenv
|
|
|
|
|
|
|
|
# linters
|
|
|
|
esbenp.prettier-vscode
|
|
|
|
naumovs.color-highlight
|
|
|
|
|
|
|
|
# essentials, other
|
|
|
|
streetsidesoftware.code-spell-checker
|
|
|
|
vscodevim.vim
|
|
|
|
oderwat.indent-rainbow
|
|
|
|
usernamehw.errorlens
|
|
|
|
christian-kohler.path-intellisense
|
|
|
|
vscjava.vscode-spring-initializr
|
2024-06-11 20:09:58 +02:00
|
|
|
gruntfuggly.todo-tree
|
2024-04-28 11:35:35 +02:00
|
|
|
|
|
|
|
#themes, icons
|
|
|
|
vscode-icons-team.vscode-icons
|
|
|
|
mechatroner.rainbow-csv
|
|
|
|
|
2024-06-11 20:09:58 +02:00
|
|
|
|
2024-04-28 11:35:35 +02:00
|
|
|
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
|
|
|
{
|
|
|
|
name = "shades-of-purple";
|
|
|
|
publisher = "ahmadawais";
|
|
|
|
version = "7.3.2";
|
|
|
|
sha256 = "10q5w9g7ghn2qvdc7h2b79x1vy8nzpnwz8dbg1h03074ikhvjx4v";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
userSettings = {
|
|
|
|
"terminal.integrated.defaultProfile.linux" = "zsh";
|
|
|
|
"editor.formatOnSave" = true;
|
|
|
|
"editor.lineNumbers" = "relative";
|
|
|
|
"workbench.colorTheme" = "Shades of Purple (Super Dark)";
|
|
|
|
"editor.minimap.enabled" = false;
|
|
|
|
"workbench.iconTheme" = "vscode-icons";
|
|
|
|
"vim.smartRelativeLine" = true;
|
2024-08-01 14:16:22 +02:00
|
|
|
"redhat.telemetry.enabled" = false;
|
2024-04-28 11:35:35 +02:00
|
|
|
"rust-analyzer.cargo.sysroot" = "discover";
|
2024-08-01 14:16:22 +02:00
|
|
|
"[typescriptreact]" = {
|
|
|
|
"editor.defaultFormatter" = "esbenp.prettier-vscode";
|
2024-07-13 17:48:39 +02:00
|
|
|
};
|
2024-04-28 11:35:35 +02:00
|
|
|
|
2024-06-11 20:09:58 +02:00
|
|
|
|
2024-04-28 11:35:35 +02:00
|
|
|
};
|
|
|
|
languageSnippets = {
|
|
|
|
nix = {
|
|
|
|
pkginit = {
|
|
|
|
body = [
|
|
|
|
"{pkgs, ...}: {"
|
|
|
|
"$1"
|
|
|
|
"}"
|
|
|
|
];
|
|
|
|
description = "Insert a nix pkg config";
|
|
|
|
prefix = [
|
|
|
|
"nix"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|