From daf979924d936296859f228d905b18c9e36de2cc Mon Sep 17 00:00:00 2001 From: jasmine Date: Mon, 23 Dec 2024 08:54:40 +0800 Subject: [PATCH] install editors --- .../sajenim/features/desktop/default.nix | 1 + .../features/desktop/editors/default.nix | 26 +++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 home-manager/sajenim/features/desktop/editors/default.nix diff --git a/home-manager/sajenim/features/desktop/default.nix b/home-manager/sajenim/features/desktop/default.nix index 16cf05c..96d214f 100644 --- a/home-manager/sajenim/features/desktop/default.nix +++ b/home-manager/sajenim/features/desktop/default.nix @@ -6,6 +6,7 @@ imports = [ ./discord ./dunst + ./editors ./irc ./mpd ./picom diff --git a/home-manager/sajenim/features/desktop/editors/default.nix b/home-manager/sajenim/features/desktop/editors/default.nix new file mode 100644 index 0000000..3af8991 --- /dev/null +++ b/home-manager/sajenim/features/desktop/editors/default.nix @@ -0,0 +1,26 @@ +{pkgs, ...}: { + # 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 + + # Jetbrains IDE's with GitHub Copilot plugin enabled + (pkgs.jetbrains.plugins.addPlugins pkgs.jetbrains.clion [ + "github-copilot" + ]) + (pkgs.jetbrains.plugins.addPlugins pkgs.jetbrains.idea-ultimate [ + "github-copilot" + ]) + (pkgs.jetbrains.plugins.addPlugins pkgs.jetbrains.pycharm-professional [ + "github-copilot" + ]) + ]; +}