Add openJDK option

This commit is contained in:
Administrateur committed 2026-02-13 23:15:31 +01:00
1 parent 8a72865b4c
commit acec0450ab
3 files changed
+25 -1

No files matched your search

+22
View File
@@ -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
]
};
}