nixos-config/components/gui/vscode.nix

28 lines
692 B
Nix
Raw Permalink Normal View History

2023-08-24 14:25:59 +02:00
{ config, pkgs, lib, ... }:
with lib;
{
options.components.gui.vscode.enable = mkOption {
type = lib.types.bool;
2024-04-01 18:37:10 +02:00
#default = config.components.gui.enable;
default = false;
2023-08-24 14:25:59 +02:00
};
config = mkIf (config.components.gui.vscode.enable) {
environment.systemPackages = with pkgs; [
(vscode-with-extensions.override {
vscodeExtensions = with vscode-extensions; [
bbenoist.nix
ms-python.python
ms-azuretools.vscode-docker
ms-vscode-remote.remote-ssh
vscodevim.vim
rust-lang.rust-analyzer
#github.copilot-labs
github.copilot
#github.copilot-chat
];
})
];
};
}