modules/vscode: Switch to proprietary build

This commit is contained in:
fleaz 2023-07-22 16:32:34 +02:00
parent e1777a93e1
commit d1b6d1de00
No known key found for this signature in database
GPG key ID: AED15F8FDD04D083

View file

@ -1,27 +1,12 @@
{ pkgs, ... }:
let
unstable = import <nixos-unstable> { };
in
{ pkgs, ... }:
{
programs.vscode = {
enable = true;
package = unstable.vscodium;
extensions = with pkgs.vscode-extensions; [
# Dark Theme
dracula-theme.theme-dracula
# Terraform and HCL support
hashicorp.terraform
# Python
ms-python.python
# Vim
vscodevim.vim
# Markdown highlighting/formatting/preview
yzhang.markdown-all-in-one
];
# Use the proprietary VSCode build from Microsft
# This way we get the "Settings Sync" feature
package = pkgs.vscode;
extensions = [];
};
}