71 lines
1.6 KiB
Nix
71 lines
1.6 KiB
Nix
{pkgs, ...}: {
|
|
imports = [
|
|
./javascript.nix
|
|
./latex.nix
|
|
./markdown.nix
|
|
./nix.nix
|
|
./rust.nix
|
|
];
|
|
|
|
programs.vscode = {
|
|
enable = true;
|
|
package = pkgs.vscodium;
|
|
enableUpdateCheck = false; # Disable VSCode self-update and let Home Manager to manage VSCode versions instead.
|
|
enableExtensionUpdateCheck = false; # Disable extensions auto-update and let nix4vscode manage updates and extensions
|
|
mutableExtensionsDir = false;
|
|
# Extensions
|
|
extensions = pkgs.nix4vscode.forVscode [
|
|
# General extensions
|
|
|
|
## Code Completion
|
|
"continue.continue"
|
|
"rooveterinaryinc.roo-cline"
|
|
|
|
## Development Environment
|
|
"ms-toolsai.jupyter"
|
|
"ms-vscode-remote.remote-containers"
|
|
|
|
## Error Checking
|
|
"usernamehw.errorlens"
|
|
|
|
## Export and Visualisation
|
|
"ibm.output-colorizer"
|
|
"nobuhito.printcode"
|
|
"pnp.polacode"
|
|
|
|
## Git
|
|
"lamartire.git-indicators"
|
|
"mhutchie.git-graph"
|
|
|
|
## Miscelaneous
|
|
"britesnow.vscode-toggle-quotes"
|
|
"mrmlnc.vscode-duplicate"
|
|
"qcz.text-power-tools"
|
|
|
|
# Language extensions
|
|
|
|
## CSV
|
|
"mechatroner.rainbow-csv"
|
|
|
|
## Golang
|
|
"golang.go"
|
|
|
|
## Python
|
|
"ms-python.python"
|
|
|
|
## SVG
|
|
"jock.svg"
|
|
];
|
|
# Settings
|
|
userSettings = {
|
|
"editor.linkedEditing" = true;
|
|
"editor.inlineSuggest.enabled" = true;
|
|
"continue.enableTabAutocomplete" = true;
|
|
|
|
"window.menuBarVisibility" = "toggle";
|
|
#"github.copilot.editor.enableAutoCompletions" = true;
|
|
"redhat.telemetry.enabled" = false;
|
|
};
|
|
};
|
|
}
|