diff --git a/home/features/coding/intellij.nix b/home/features/coding/intellij.nix index d4eba04..3ead03a 100644 --- a/home/features/coding/intellij.nix +++ b/home/features/coding/intellij.nix @@ -1,5 +1,8 @@ {pkgs, ...}: { - home.packages = with pkgs.unstable; [ - (jetbrains.plugins.addPlugins jetbrains.idea-ultimate ["ideavim"]) + home.packages = [ + (pkgs.unstable.jetbrains.plugins.addPlugins pkgs.unstable.jetbrains.idea-ultimate ["ideavim"]) ]; + home.sessionVariables = { + JAVA_HOME = "${pkgs.jdk17}/lib/openjdk"; + }; }