Add openJDK option
This commit is contained in:
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.env.jdk;
|
||||
in
|
||||
{
|
||||
options.home.env.jdk = {
|
||||
enable = mkEnableOption "Zen Editor options";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
javaPackages.compiler.openjdk25
|
||||
]
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user