{ pkgs, ... }: { programs.java.enable = true; programs.java.package = pkgs.latest.jdk; environment.systemPackages = with pkgs.latest; [ jdk ]; }