dotfiles/common/users/homeModules/dev/jvm.nix

35 lines
560 B
Nix
Raw Normal View History

2024-12-11 19:20:06 -05:00
{ pkgs, ... }:
let
g = (pkgs.gradle.override {
javaToolchains = [ pkgs.graalvm-ce ];
});
in
{
imports = [
./ide/jb/idea.nix
./ide/jb/androidStudio.nix
];
2024-11-26 17:01:58 -05:00
home = {
2024-12-11 19:20:06 -05:00
sessionVariables = {
GRAALVM_HOME = "${pkgs.graalvm-ce}";
};
file = {
gradleIntellij = {
source = "${pkgs.graalvm-ce}";
target = ".local/graalvm";
};
};
2024-11-26 17:01:58 -05:00
packages = with pkgs; [
jadx
2024-12-11 19:20:06 -05:00
g
kotlin
2024-11-26 17:01:58 -05:00
];
};
programs = {
java = {
enable = true;
package = pkgs.temurin-bin-17;
};
};
}