2023-10-04 01:21:31 +02:00
|
|
|
{ config, pkgs, ... }: {
|
2023-08-24 12:14:42 +02:00
|
|
|
programs.vscode = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.vscodium;
|
2023-08-28 04:47:56 +02:00
|
|
|
enableUpdateCheck = false;
|
|
|
|
enableExtensionUpdateCheck = false;
|
2023-08-24 12:14:42 +02:00
|
|
|
extensions = with pkgs.vscode-extensions; [
|
2023-09-30 14:44:49 +02:00
|
|
|
waderyan.gitblame # See Git Blame info in status bar
|
|
|
|
oderwat.indent-rainbow # Colorise indents
|
|
|
|
naumovs.color-highlight # Highlight HTML color codes
|
2023-08-28 04:47:56 +02:00
|
|
|
|
|
|
|
# Themes
|
|
|
|
jdinhlife.gruvbox
|
|
|
|
github.github-vscode-theme
|
|
|
|
enkia.tokyo-night
|
|
|
|
dracula-theme.theme-dracula
|
2023-08-24 12:14:42 +02:00
|
|
|
];
|
2023-08-28 04:47:56 +02:00
|
|
|
userSettings = {
|
2023-09-30 14:44:49 +02:00
|
|
|
# Theming:
|
|
|
|
"window.autoDetectColorScheme" = true;
|
|
|
|
"workbench.preferredLightColorTheme" = "GitHub Light Default";
|
|
|
|
"workbench.preferredDarkColorTheme" = "Github Dark Dimmed";
|
|
|
|
"workbench.colorTheme" = "Github Dark Dimmed";
|
|
|
|
"workbench.iconTheme" = "";
|
2023-08-28 04:47:56 +02:00
|
|
|
|
2023-09-30 14:44:49 +02:00
|
|
|
# Workbench
|
|
|
|
"workbench.startupEditor" = "none";
|
|
|
|
"diffEditor.ignoreTrimWhitespace" = false;
|
|
|
|
"workbench.editor.autoLockGroups" = {
|
2023-10-04 02:51:24 +02:00
|
|
|
"mainThreadWebview-markdown.preview" = true;
|
2023-09-30 14:44:49 +02:00
|
|
|
};
|
|
|
|
"editor.fontFamily" = "JetBrainsMono Regular";
|
|
|
|
"editor.fontLigatures" = true;
|
|
|
|
|
|
|
|
# Telemetry
|
|
|
|
"redhat.telemetry.enabled" = false;
|
|
|
|
"telemetry.telemetryLevel" = "off";
|
|
|
|
|
|
|
|
# Git
|
|
|
|
"git.enableSmartCommit" = true;
|
|
|
|
"git.confirmSync" = false;
|
|
|
|
"git.autofetch" = true;
|
|
|
|
|
|
|
|
# Language Specific
|
|
|
|
# Python
|
|
|
|
"python.diagnostics.sourceMapsEnabled" = true;
|
|
|
|
"python.linting.pylintEnabled" = true;
|
|
|
|
"python.linting.pylintArgs" = [
|
|
|
|
"--rcfile=~/.config/pylintrc"
|
|
|
|
];
|
|
|
|
|
|
|
|
# Rust
|
|
|
|
"rust-analyzer.cargo.buildScripts.overrideCommand" = null;
|
2023-08-28 04:47:56 +02:00
|
|
|
};
|
2023-08-24 12:14:42 +02:00
|
|
|
};
|
|
|
|
}
|