dotfiles/programs/vscode.nix

14 lines
356 B
Nix
Raw Normal View History

2023-05-02 22:47:01 +02:00
{ config, pkgs, lib, ... }:
2023-05-03 02:27:17 +02:00
let nixGLWrap = import ./../utils/nixGLWrap.nix { inherit pkgs lib; };
2023-05-02 22:47:01 +02:00
in {
programs = {
vscode = {
enable = true;
package = (nixGLWrap (pkgs.vscode.override {
commandLineArgs =
"--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --gtk-version=4";
}));
};
};
}