Add openJDK option
This commit is contained in:
@@ -16,6 +16,8 @@
|
|||||||
home.shell.git.enable = true;
|
home.shell.git.enable = true;
|
||||||
home.shell.neovim.enable = true;
|
home.shell.neovim.enable = true;
|
||||||
|
|
||||||
|
home.env.jdk.enable = true;
|
||||||
|
|
||||||
# No Home Application Folders
|
# No Home Application Folders
|
||||||
targets.darwin.linkApps.enable = false;
|
targets.darwin.linkApps.enable = false;
|
||||||
targets.darwin.copyApps.enable = false;
|
targets.darwin.copyApps.enable = false;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
show-recents = false;
|
show-recents = false;
|
||||||
tilesize = 30;
|
tilesize = 30;
|
||||||
autohide = false;
|
autohide = false;
|
||||||
orientation = "right";
|
orientation = "bottom";
|
||||||
persistent-apps = [
|
persistent-apps = [
|
||||||
{ app = "/System/Applications/Apps.app"; }
|
{ app = "/System/Applications/Apps.app"; }
|
||||||
{ app = "/Applications/Zen.app"; }
|
{ app = "/Applications/Zen.app"; }
|
||||||
|
|||||||
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