diff --git a/home/features/coding/intellij.nix b/home/features/coding/intellij.nix index 6af9cf9..e62e046 100644 --- a/home/features/coding/intellij.nix +++ b/home/features/coding/intellij.nix @@ -1,9 +1,14 @@ -{pkgs, ...}: { +{ pkgs, ... }: +let + intellij = pkgs.unstable.jetbrains.idea-ultimate.override { + jdk = pkgs.pkgs.openjdk17; + }; +in +{ home.packages = [ - (pkgs.unstable.jetbrains.plugins.addPlugins pkgs.unstable.jetbrains.idea-ultimate ["ideavim"]) + (pkgs.unstable.jetbrains.plugins.addPlugins intellij [ "ideavim" ]) ]; home.sessionVariables = { - JAVA_HOME = "${pkgs.openjdk17}/lib/openjdk"; LD_LIBRARY_PATH = "${pkgs.libGL}/lib:${pkgs.gtk3}/lib:${pkgs.glib.out}/lib:${pkgs.xorg.libXtst}/lib"; }; }