vscodium: init installation via home-manager
This commit is contained in:
parent
a9a7f2bd6b
commit
3724058439
|
@ -309,6 +309,63 @@ in
|
||||||
# { enable = true;
|
# { enable = true;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
programs.vscode = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.vscodium;
|
||||||
|
extensions = with pkgs.vscode-extensions; [
|
||||||
|
ms-python.python
|
||||||
|
vscodevim.vim
|
||||||
|
yzhang.markdown-all-in-one
|
||||||
|
bungcip.better-toml
|
||||||
|
eamodio.gitlens
|
||||||
|
jnoortheen.nix-ide
|
||||||
|
mkhl.direnv
|
||||||
|
# kamadorueda.alejandra
|
||||||
|
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
|
{
|
||||||
|
name = "Sync-Rsync";
|
||||||
|
publisher = "vscode-ext";
|
||||||
|
version = "0.36.0";
|
||||||
|
sha256 = "sha256-0b/OHLZfXo0NAVAVkzZSqMGDzF0uvPRoiqsZtW1iOdA";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
userSettings = {
|
||||||
|
"editor.fontLigatures" = true;
|
||||||
|
"window.autoDetectColorScheme" = true;
|
||||||
|
"[nix]" = {
|
||||||
|
"editor.insertSpaces" = true;
|
||||||
|
"editor.tabSize" = 2;
|
||||||
|
};
|
||||||
|
"editor.fontSize" = 13;
|
||||||
|
"editor.fontWeight" = "normal";
|
||||||
|
"git.detectSubmodulesLimit" = 30;
|
||||||
|
"[python]" = {
|
||||||
|
"breadcrumbs.showClasses" = true;
|
||||||
|
"breadcrumbs.showFunctions" = true;
|
||||||
|
"gitlens.codeLens.symbolScopes" = [
|
||||||
|
"!Module"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"vim.highlightedyank.enable" = true;
|
||||||
|
"vim.history" = 500;
|
||||||
|
"vim.neovimUseConfigFile" = true;
|
||||||
|
"vim.enableNeovim" = true;
|
||||||
|
"python.formatting.blackPath" = "/Users/os/.nix-profile/bin/black";
|
||||||
|
"git.suggestSmartCommit" = false;
|
||||||
|
"editor.rulers" = [ 88 ];
|
||||||
|
"vim.useSystemClipboard" = true;
|
||||||
|
"vim.smartRelativeLine" = true;
|
||||||
|
"diffEditor.ignoreTrimWhitespace" = false;
|
||||||
|
"files.associations" = {
|
||||||
|
"*.py" = "python";
|
||||||
|
};
|
||||||
|
"editor.renderWhitespace" = "all";
|
||||||
|
"editor.fontFamily" = "Iosevka Curly Slab, Menlo, Monaco, 'Courier New', monospace";
|
||||||
|
"vim.neovimPath" = "/Users/os/.nix-profile/bin/nvim";
|
||||||
|
"sync-rsync.options" = [];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.bat = {
|
programs.bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# pinning theme is necessary until iTerm 3.5, because despite the dark terminal background, bat detects light mode and adapts theme
|
# pinning theme is necessary until iTerm 3.5, because despite the dark terminal background, bat detects light mode and adapts theme
|
||||||
|
|
Loading…
Reference in a new issue