From d293c76e598dc141e3099f1b6d87ba3317602219 Mon Sep 17 00:00:00 2001 From: materus Date: Sat, 10 Jun 2023 21:35:01 +0200 Subject: [PATCH] materusPC & flamaster: use graalvm as java --- configurations/host/flamaster/configuration.nix | 7 ++++++- configurations/host/materusPC/tmp.nix | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/configurations/host/flamaster/configuration.nix b/configurations/host/flamaster/configuration.nix index 1806bdf..ebf5b9f 100644 --- a/configurations/host/flamaster/configuration.nix +++ b/configurations/host/flamaster/configuration.nix @@ -24,6 +24,11 @@ enable = true; clock24 = true; }; + programs.java = { + enable = true; + package = pkgs.graalvm17-ce; + binfmt = true; + }; # Bootloader. boot.loader.grub = { enable = true; @@ -129,9 +134,9 @@ pciutils lshw steamcmd - jdk distrobox config.materus.profile.packages.firefox + config.programs.java.package ]; diff --git a/configurations/host/materusPC/tmp.nix b/configurations/host/materusPC/tmp.nix index 353f1d8..889530e 100644 --- a/configurations/host/materusPC/tmp.nix +++ b/configurations/host/materusPC/tmp.nix @@ -210,6 +210,8 @@ in ''; }; java.enable = true; + java.package = pkgs.graalvm17-ce; + java.binfmt = true; command-not-found.enable = false; dconf.enable = true; }; @@ -248,7 +250,7 @@ in curl wget - jdk + config.programs.java.package nss_latest