nix-configs/home-modules/vscode.nix

18 lines
371 B
Nix

{
pkgs,
osConfig,
lib,
...
}:
{
programs.vscode = lib.mkIf osConfig.services.displayManager.enable {
enable = true;
package = pkgs.vscodium-fhs;
extensions = [
pkgs.vscode-extensions.mkhl.direnv
pkgs.vscode-extensions.eamodio.gitlens
pkgs.vscode-extensions.jnoortheen.nix-ide
pkgs.vscode-extensions.redhat.java
];
};
}