Skip to content

Commit

Permalink
me: vscode: mitigate microsoft/vscode#184124
Browse files Browse the repository at this point in the history
  • Loading branch information
spikespaz committed Nov 30, 2023
1 parent ae52e03 commit 5c14d44
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions users/jacob/programs/vscode/settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@
in (pkgs.symlinkJoin {
inherit (super) name pname version;
paths = [ super ] ++ fontPackages;

# FIXME
# Can be removed when this issue is closed:
# <https://github.com/microsoft/vscode/issues/184124#issuecomment-1802930021>
#
# Another solution is:
# <https://github.com/microsoft/vscode/issues/181533#issuecomment-1597187136>
buildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/code \
--add-flags --disable-gpu-sandbox
'';
});

programs.vscode.enableExtensionUpdateCheck = false;
Expand Down Expand Up @@ -84,7 +96,7 @@
"Material Design Icons"
"JetBrainsMono Nerd Font"
];
"editor.fontSize" = 14;
"editor.fontSize" = 13;
"editor.cursorSmoothCaretAnimation" = "explicit";
"editor.cursorStyle" = "block";

Expand Down Expand Up @@ -132,8 +144,8 @@
"appName"
];

# scale the ui down
"window.zoomLevel" = -1;
# # scale the ui down
# "window.zoomLevel" = -1;
# hide the menu bar unless alt is pressed
"window.menuBarVisibility" = "toggle";
# the minimap gets in the way
Expand Down

0 comments on commit 5c14d44

Please sign in to comment.