dotfiles.nix/home-manager/sajenim/features/desktop/editors/default.nix

24 lines
755 B
Nix
Raw Permalink Normal View History

2024-12-24 13:15:00 +08:00
{pkgs, ...}: let
# Define a function to add GitHub Copilot plugin to Jetbrains IDEs
addGithubCopilot = ide: pkgs.jetbrains.plugins.addPlugins ide ["github-copilot"];
in {
2024-12-23 08:54:40 +08:00
# Enable Visual Studio Code (VSCode) program
programs.vscode = {
enable = true;
extensions = with pkgs.vscode-extensions; [
sainnhe.gruvbox-material # Gruvbox Material theme
];
};
# List of packages to be installed as part of the home configuration
home.packages = [
pkgs.gcc # GCC compiler
pkgs.python39 # Python 3.9 interpreter
2024-12-24 13:15:00 +08:00
# Add GitHub Copilot plugin to Jetbrains IDEs
(addGithubCopilot pkgs.jetbrains.clion)
(addGithubCopilot pkgs.jetbrains.idea-ultimate)
(addGithubCopilot pkgs.jetbrains.pycharm-professional)
2024-12-23 08:54:40 +08:00
];
}