Override Intellij JDK
This commit is contained in:
parent
605d98f559
commit
e4ea8e8a4f
1 changed files with 8 additions and 3 deletions
|
@ -1,9 +1,14 @@
|
||||||
{pkgs, ...}: {
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
intellij = pkgs.unstable.jetbrains.idea-ultimate.override {
|
||||||
|
jdk = pkgs.pkgs.openjdk17;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
home.packages = [
|
home.packages = [
|
||||||
(pkgs.unstable.jetbrains.plugins.addPlugins pkgs.unstable.jetbrains.idea-ultimate ["ideavim"])
|
(pkgs.unstable.jetbrains.plugins.addPlugins intellij [ "ideavim" ])
|
||||||
];
|
];
|
||||||
home.sessionVariables = {
|
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";
|
LD_LIBRARY_PATH = "${pkgs.libGL}/lib:${pkgs.gtk3}/lib:${pkgs.glib.out}/lib:${pkgs.xorg.libXtst}/lib";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue