2025-01-21 23:39:20 +00:00
|
|
|
{ pkgs, ... }: {
|
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.vscodium;
|
|
|
|
enableUpdateCheck = false;
|
|
|
|
enableExtensionUpdateCheck = false;
|
|
|
|
extensions = with pkgs.vscode-extensions; [
|
|
|
|
catppuccin.catppuccin-vsc
|
|
|
|
catppuccin.catppuccin-vsc-icons
|
|
|
|
editorconfig.editorconfig
|
|
|
|
esbenp.prettier-vscode
|
|
|
|
jnoortheen.nix-ide
|
|
|
|
llvm-vs-code-extensions.vscode-clangd
|
|
|
|
mesonbuild.mesonbuild
|
2025-01-24 03:34:00 +00:00
|
|
|
ms-vscode.live-server
|
2025-01-21 23:39:20 +00:00
|
|
|
rust-lang.rust-analyzer
|
|
|
|
skellock.just
|
2025-01-22 02:23:44 +00:00
|
|
|
vadimcn.vscode-lldb
|
2025-01-21 23:39:20 +00:00
|
|
|
wakatime.vscode-wakatime
|
|
|
|
];
|
2025-01-23 03:50:51 +00:00
|
|
|
userSettings =
|
|
|
|
let
|
|
|
|
df = lang: formatter: {
|
|
|
|
name = "[" + lang + "]";
|
|
|
|
value = {
|
|
|
|
"editor.defaultFormatter" = formatter;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
"editor.fontFamily" = "'Fira Code Light', monospace";
|
|
|
|
# "editor.fontLigatures" = true;
|
|
|
|
"editor.formatOnSave" = false;
|
|
|
|
"editor.indentSize" = 4;
|
|
|
|
"editor.tabSize" = 4;
|
|
|
|
"explorer.confirmDelete" = false;
|
|
|
|
"explorer.confirmDragAndDrop" = false;
|
|
|
|
"mesonbuild.buildFolder" = "build";
|
|
|
|
"prettier.tabWidth" = 4;
|
|
|
|
"prettier.trailingComma" = "none";
|
|
|
|
"prettier.singleAttributePerLine" = false;
|
|
|
|
"prettier.useEditorConfig" = true;
|
2025-01-24 03:34:00 +00:00
|
|
|
"svelte.enable-ts-plugin" = true;
|
2025-01-23 03:50:51 +00:00
|
|
|
"telemetry.telemetryLevel" = "off";
|
|
|
|
"workbench.activityBar.iconClickBehavior" = "toggle";
|
|
|
|
"workbench.activityBar.location" = "bottom";
|
|
|
|
"workbench.colorTheme" = "Catppuccin Frappé";
|
|
|
|
"workbench.iconTheme" = "catppuccin-frappe";
|
|
|
|
} // builtins.listToAttrs [
|
2025-01-24 21:08:11 +00:00
|
|
|
(df "css" "esbenp.prettier-vscode")
|
2025-01-24 03:34:00 +00:00
|
|
|
(df "html" "esbenp.prettier-vscode")
|
2025-01-23 03:50:51 +00:00
|
|
|
(df "typescript" "esbenp.prettier-vscode")
|
|
|
|
(df "javascript" "esbenp.prettier-vscode")
|
|
|
|
];
|
2025-01-21 23:39:20 +00:00
|
|
|
};
|
|
|
|
}
|