From 45a68d3ae66b50dbb692aab07f65a1a09b849fe5 Mon Sep 17 00:00:00 2001 From: Maddie H Date: Wed, 9 Oct 2024 22:16:56 +0100 Subject: [PATCH] refactor: move jdk17 to a seperate file on laptop system --- systems/laptop/java.nix | 7 +++++++ systems/laptop/packages.nix | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 systems/laptop/java.nix diff --git a/systems/laptop/java.nix b/systems/laptop/java.nix new file mode 100644 index 0000000..93491d4 --- /dev/null +++ b/systems/laptop/java.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + jdk17 + ]; +} diff --git a/systems/laptop/packages.nix b/systems/laptop/packages.nix index f12d351..b5b605a 100644 --- a/systems/laptop/packages.nix +++ b/systems/laptop/packages.nix @@ -13,7 +13,5 @@ fzf bat git - - jdk17 ]; }