From 1597e35b94c239e235fd93d96f50fb3f51485b0b Mon Sep 17 00:00:00 2001 From: Bad Date: Mon, 23 Aug 2021 14:40:31 +0200 Subject: [PATCH] Install java --- profiles/java/default.nix | 7 +++++++ suites/default.nix | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 profiles/java/default.nix diff --git a/profiles/java/default.nix b/profiles/java/default.nix new file mode 100644 index 0000000..310483b --- /dev/null +++ b/profiles/java/default.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + programs.java.enable = true; + environment.systemPackages = with pkgs; [ + jdk + ]; +} diff --git a/suites/default.nix b/suites/default.nix index adec901..993ec99 100644 --- a/suites/default.nix +++ b/suites/default.nix @@ -1,7 +1,7 @@ { profiles, ... }: with profiles; rec { base = [ users.root core dnscrypt ]; - workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust virtualization ]; + workstation = base ++ [ sway develop game profiles.workstation ssh flatpak torrents pwn tor rust virtualization java ]; desktop = workstation ++ [ users.mae-desk amd three_dee androidev ]; lap = workstation ++ [ users.mae-lap laptop bluetooth print networkmanager androidev ]; }