move nixos-specific vscode settings into section

This commit is contained in:
Sean Buckley 2022-09-06 13:40:09 -04:00
parent a233cd2087
commit 2f8e061303

View file

@ -97,8 +97,6 @@ with lib;
"editor.cursorSurroundingLines" = 9; "editor.cursorSurroundingLines" = 9;
"editor.renderFinalNewline" = false; "editor.renderFinalNewline" = false;
"editor.scrollBeyondLastLine" = false; "editor.scrollBeyondLastLine" = false;
"extensions.autoCheckUpdates" = false;
"extensions.autoUpdate" = false;
"files.insertFinalNewline" = true; "files.insertFinalNewline" = true;
"files.trimFinalNewlines" = true; "files.trimFinalNewlines" = true;
"files.watcherExclude"."**/result/**" = true; "files.watcherExclude"."**/result/**" = true;
@ -115,10 +113,14 @@ with lib;
"terminal.integrated.shellIntegration.enabled" = false; "terminal.integrated.shellIntegration.enabled" = false;
"terminal.integrated.showExitAlert" = false; "terminal.integrated.showExitAlert" = false;
"trailing-spaces.highlightCurrentLine" = false; "trailing-spaces.highlightCurrentLine" = false;
"update.mode" = "none";
"update.showReleaseNotes" = false; "update.showReleaseNotes" = false;
"window.menuBarVisibility" = "hidden"; "window.menuBarVisibility" = "hidden";
"workbench.startupEditor" = "none"; "workbench.startupEditor" = "none";
# NixOS specific vscode settings, do not copy to other operating systems:
"extensions.autoCheckUpdates" = false;
"extensions.autoUpdate" = false;
"update.mode" = "none";
}; };
environment.etc."vscode-keybindings.json".text = builtins.toJSON [ environment.etc."vscode-keybindings.json".text = builtins.toJSON [