refactor
This commit is contained in:
parent
66c05f9093
commit
44067d35ff
205 changed files with 9037 additions and 338 deletions
17
modules/darwin/tools/java/default.nix
Normal file
17
modules/darwin/tools/java/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.plusultra;
|
||||
let cfg = config.plusultra.tools.java;
|
||||
in
|
||||
{
|
||||
options.plusultra.tools.java = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable Java.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
jdk
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue