update vscode
This commit is contained in:
parent
8240479389
commit
2fd3596738
3 changed files with 35 additions and 8 deletions
|
|
@ -51,7 +51,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
cursors.enable = true;
|
cursors.enable = true;
|
||||||
cache.enable = true;
|
cache.enable = true;
|
||||||
vscode.enable = false;
|
};
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
EDITOR = "code";
|
||||||
};
|
};
|
||||||
|
|
||||||
# This value determines the Home Manager release that your
|
# This value determines the Home Manager release that your
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
# defaultEditor = true;
|
||||||
waylandSupport = true;
|
waylandSupport = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,50 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
capitalize =
|
||||||
|
str:
|
||||||
|
(lib.toUpper (builtins.substring 0 1 str)) + (builtins.substring 1 (builtins.stringLength str) str);
|
||||||
|
in
|
||||||
|
{
|
||||||
|
catppuccin.vscode.profiles.default = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
workbenchMode = "minimal";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
enableExtensionUpdateCheck = true;
|
enableExtensionUpdateCheck = true;
|
||||||
enableMcpIntegration = true;
|
enableMcpIntegration = true;
|
||||||
enableUpdateCheck = true;
|
enableUpdateCheck = true;
|
||||||
|
# https://search.nixos.org/packages?query=vscode-extensions
|
||||||
extensions = with pkgs.vscode-extensions; [
|
extensions = with pkgs.vscode-extensions; [
|
||||||
|
yzhang.markdown-all-in-one
|
||||||
|
jnoortheen.nix-ide
|
||||||
|
esbenp.prettier-vscode
|
||||||
];
|
];
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"workbench.colorTheme" = "Catppuccin Alt Mocha";
|
|
||||||
"window.menuBarVisibility" = "compact";
|
"window.menuBarVisibility" = "compact";
|
||||||
"workbench.navigationControl.enabled" = false;
|
"workbench.navigationControl.enabled" = false;
|
||||||
"window.commandCenter" = false;
|
"window.commandCenter" = false;
|
||||||
"chat.commandCenter.enabled" = false;
|
|
||||||
"workbench.layoutControl.enabled" = false;
|
"workbench.layoutControl.enabled" = false;
|
||||||
"window.titleBarStyle" = "native";
|
"window.titleBarStyle" = "native";
|
||||||
"editor.minimap.enabled" = false;
|
"editor.minimap.enabled" = false;
|
||||||
"chat.mcp.gallery.enabled" = true;
|
|
||||||
|
|
||||||
"editor.semanticHighlighting.enabled" = true;
|
"editor.semanticHighlighting.enabled" = true;
|
||||||
"workbench.iconTheme" = "catppuccin-mocha";
|
|
||||||
|
# Disable AI "features"
|
||||||
|
## Chat features
|
||||||
|
"chat.agent.enabled" = false;
|
||||||
|
"chat.commandCenter.enabled" = false;
|
||||||
|
"inlineChat.accessibleDiffView" = "off";
|
||||||
|
"terminal.integrated.initialHint" = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue