Enable Wayland for vscode, add config

This commit is contained in:
Jordan Holt 2023-12-08 21:06:23 +00:00
parent 91103dc0e7
commit 8ddc5c9269
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -9,6 +9,8 @@ in {
};
config = mkIf cfg.enable {
environment.sessionVariables.NIXOS_OZONE_WL = "1";
home.programs.vscode = {
enable = true;
extensions = with pkgs.vscode-extensions; [
@ -19,7 +21,7 @@ in {
golang.go
graphql.vscode-graphql-syntax
mattn.lisp
mkhl.direnv
# mkhl.direnv
ms-python.vscode-pylance
ms-vscode.cpptools
ms-vscode.hexeditor
@ -28,7 +30,18 @@ in {
# sumneko.lua
];
userSettings = {
"editor.renderLineHighlight" = "none";
"extensions.experimental.affinity" = {
"asvetliakov.vscode-neovim" = 1;
};
"files.autoSave" = "off";
"window.autoDetectColorScheme" = true;
"window.commandCenter" = true;
"window.titleBarStyle" = "custom";
"workbench.iconTheme" = null;
"workbench.preferredDarkColorTheme" = "Adwaita Dark";
"workbench.preferredLightColorTheme" = "Adwaita Light";
"workbench.tree.indent" = 12;
};
};
};