diff --git a/hosts/darwin/home/alistreaza.nix b/hosts/darwin/home/alistreaza.nix index b427e60..305c742 100644 --- a/hosts/darwin/home/alistreaza.nix +++ b/hosts/darwin/home/alistreaza.nix @@ -16,6 +16,8 @@ home.shell.git.enable = true; home.shell.neovim.enable = true; + home.env.jdk.enable = true; + # No Home Application Folders targets.darwin.linkApps.enable = false; targets.darwin.copyApps.enable = false; diff --git a/hosts/darwin/system/partials/system.nix b/hosts/darwin/system/partials/system.nix index dc121df..e2150b0 100644 --- a/hosts/darwin/system/partials/system.nix +++ b/hosts/darwin/system/partials/system.nix @@ -15,7 +15,7 @@ show-recents = false; tilesize = 30; autohide = false; - orientation = "right"; + orientation = "bottom"; persistent-apps = [ { app = "/System/Applications/Apps.app"; } { app = "/Applications/Zen.app"; } diff --git a/modules/home/common/env/openjdk.nix b/modules/home/common/env/openjdk.nix new file mode 100644 index 0000000..0bde950 --- /dev/null +++ b/modules/home/common/env/openjdk.nix @@ -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 + ] + + }; +}