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;
|
||||
cursors.enable = true;
|
||||
cache.enable = true;
|
||||
vscode.enable = false;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "code";
|
||||
};
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
# defaultEditor = true;
|
||||
waylandSupport = true;
|
||||
viAlias = 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 = {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
enableExtensionUpdateCheck = true;
|
||||
enableMcpIntegration = true;
|
||||
enableUpdateCheck = true;
|
||||
# https://search.nixos.org/packages?query=vscode-extensions
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
yzhang.markdown-all-in-one
|
||||
jnoortheen.nix-ide
|
||||
esbenp.prettier-vscode
|
||||
];
|
||||
userSettings = {
|
||||
"workbench.colorTheme" = "Catppuccin Alt Mocha";
|
||||
"window.menuBarVisibility" = "compact";
|
||||
"workbench.navigationControl.enabled" = false;
|
||||
"window.commandCenter" = false;
|
||||
"chat.commandCenter.enabled" = false;
|
||||
"workbench.layoutControl.enabled" = false;
|
||||
"window.titleBarStyle" = "native";
|
||||
"editor.minimap.enabled" = false;
|
||||
"chat.mcp.gallery.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