From 1da72f73504a5117d506de179b102d80e09a3072 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:22:07 +0200 Subject: [PATCH] Pin Java to JDK17 --- home/features/coding/intellij.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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"; + }; }