diff --git a/home-manager/sajenim/features/editor/default.nix b/home-manager/sajenim/features/editor/default.nix deleted file mode 100644 index 9613e12..0000000 --- a/home-manager/sajenim/features/editor/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - inputs, - pkgs, - ... -}: { - home.packages = with pkgs; - [ - gcc - pandoc - python313Full - texliveFull - ] - ++ [ - inputs.nixvim.packages.${pkgs.system}.default - ]; -} diff --git a/home-manager/sajenim/features/editors/default.nix b/home-manager/sajenim/features/editors/default.nix new file mode 100644 index 0000000..e4f97aa --- /dev/null +++ b/home-manager/sajenim/features/editors/default.nix @@ -0,0 +1,30 @@ +{ + inputs, + pkgs, + ... +}: { + home.packages = with pkgs; + [ + # Toolchains + gcc + python313 + + # Typesetting + pandoc + texliveFull + ] + ++ [ + # Our personal neovim configuration. + inputs.nixvim.packages.${pkgs.system}.default + ] + # Install jetbrains IDEs with plugins + ++ (with inputs.nix-jetbrains-plugins.lib."${system}"; [ + (buildIdeWithPlugins pkgs.jetbrains "idea-community" [ + "IdeaVIM" + "gruvbox-material-dark" + ]) + ]); # https://github.com/theCapypara/nix-jetbrains-plugins + + # Copy our vim configuration file for jetbrains IDEs + home.file.".ideavimrc".source = ./ideavimrc; +} diff --git a/home-manager/sajenim/features/editors/ideavimrc b/home-manager/sajenim/features/editors/ideavimrc new file mode 100644 index 0000000..317e424 --- /dev/null +++ b/home-manager/sajenim/features/editors/ideavimrc @@ -0,0 +1,3 @@ +set number +set relativenumber +set clipboard=unnamedplus diff --git a/home-manager/sajenim/fuchsia.nix b/home-manager/sajenim/fuchsia.nix index 37e984c..b32c0b1 100644 --- a/home-manager/sajenim/fuchsia.nix +++ b/home-manager/sajenim/fuchsia.nix @@ -3,7 +3,7 @@ ./global ./features/cli ./features/desktop - ./features/editor + ./features/editors ./features/games ./features/printing ./features/university