You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
380 B
Nix
22 lines
380 B
Nix
9 years ago
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
let
|
||
|
inherit (lib) mkIf mkMerge mkThenElse;
|
||
|
cfg = config.r6d.config-generator;
|
||
|
computers = config.r6d.computers;
|
||
|
profiles = config.r6d.profiles;
|
||
|
in
|
||
|
|
||
|
mkIf cfg.developpement-java {
|
||
|
|
||
|
# Paquets
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
# Java
|
||
|
maven
|
||
8 years ago
|
openjdk
|
||
9 years ago
|
];
|
||
8 years ago
|
environment.variables = {
|
||
|
JAVA_HOME = "${pkgs.openjdk}";
|
||
|
};
|
||
9 years ago
|
}
|