From 8acc27488bb9d2c0abc4478ccd49afad30278229 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Tue, 9 Jan 2024 17:25:46 -0500 Subject: [PATCH] feat: install java using nix --- machines/mac/configuration.nix | 1 - user/modules/dev.nix | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/machines/mac/configuration.nix b/machines/mac/configuration.nix index d3eea95..9915023 100644 --- a/machines/mac/configuration.nix +++ b/machines/mac/configuration.nix @@ -64,7 +64,6 @@ upgrade = true; }; brews = [ - "openjdk@17" "firefoxpwa" ]; casks = [ diff --git a/user/modules/dev.nix b/user/modules/dev.nix index 63203e1..1ba51b5 100644 --- a/user/modules/dev.nix +++ b/user/modules/dev.nix @@ -34,6 +34,11 @@ enable = true; }; + programs.java = { + enable = true; + package = pkgs.jdk17; + }; + # Bun Git config programs.git = { attributes = [