feat: manage jetbrains plugins with nix-jetbrains-plugins
This commit is contained in:
parent
d7e6dd78e6
commit
4215148d58
|
@ -1,7 +1,8 @@
|
||||||
{pkgs, ...}: let
|
{
|
||||||
# Define a function to add GitHub Copilot plugin to Jetbrains IDEs
|
pkgs,
|
||||||
addGithubCopilot = ide: pkgs.jetbrains.plugins.addPlugins ide ["github-copilot"];
|
inputs,
|
||||||
in {
|
...
|
||||||
|
}: {
|
||||||
# Enable Visual Studio Code (VSCode) program
|
# Enable Visual Studio Code (VSCode) program
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -11,14 +12,27 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
# List of packages to be installed
|
# List of packages to be installed
|
||||||
home.packages = [
|
home.packages = with pkgs;
|
||||||
|
[
|
||||||
# Toolchain
|
# Toolchain
|
||||||
pkgs.gcc # GCC compiler
|
gcc
|
||||||
pkgs.python39 # Python 3.9 interpreter
|
jdk
|
||||||
|
unstable.python313 # Note: keep this in sync with school.
|
||||||
# Add GitHub Copilot plugin to Jetbrains IDEs
|
]
|
||||||
(addGithubCopilot pkgs.jetbrains.clion)
|
# Install jetbrains IDEs with plugins
|
||||||
(addGithubCopilot pkgs.jetbrains.idea-ultimate)
|
++ (with inputs.nix-jetbrains-plugins.lib."${system}"; [
|
||||||
(addGithubCopilot pkgs.jetbrains.pycharm-professional)
|
(buildIdeWithPlugins pkgs.jetbrains "clion" [
|
||||||
];
|
"com.github.copilot"
|
||||||
|
"gruvbox-material-dark"
|
||||||
|
])
|
||||||
|
(buildIdeWithPlugins pkgs.jetbrains "idea-ultimate" [
|
||||||
|
"com.github.copilot"
|
||||||
|
"gruvbox-material-dark"
|
||||||
|
])
|
||||||
|
(buildIdeWithPlugins pkgs.jetbrains "pycharm-professional" [
|
||||||
|
"com.github.copilot"
|
||||||
|
"gruvbox-material-dark"
|
||||||
|
])
|
||||||
|
]);
|
||||||
|
# https://github.com/theCapypara/nix-jetbrains-plugins
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue