From 2f8e061303d123e6f28ecf62fb4322906427835c Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 6 Sep 2022 13:40:09 -0400 Subject: [PATCH] move nixos-specific vscode settings into section --- modules/profiles/desktop.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/profiles/desktop.nix b/modules/profiles/desktop.nix index 04b61c5..fe68990 100644 --- a/modules/profiles/desktop.nix +++ b/modules/profiles/desktop.nix @@ -97,8 +97,6 @@ with lib; "editor.cursorSurroundingLines" = 9; "editor.renderFinalNewline" = false; "editor.scrollBeyondLastLine" = false; - "extensions.autoCheckUpdates" = false; - "extensions.autoUpdate" = false; "files.insertFinalNewline" = true; "files.trimFinalNewlines" = true; "files.watcherExclude"."**/result/**" = true; @@ -115,10 +113,14 @@ with lib; "terminal.integrated.shellIntegration.enabled" = false; "terminal.integrated.showExitAlert" = false; "trailing-spaces.highlightCurrentLine" = false; - "update.mode" = "none"; "update.showReleaseNotes" = false; "window.menuBarVisibility" = "hidden"; "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 [