feat: Add prismlauncher and customize jdk versions

This commit is contained in:
ulic-youthlic 2025-12-08 13:42:42 +08:00
parent 9556ca8d50
commit 3185f43ff7
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
4 changed files with 17 additions and 0 deletions

View file

@ -95,6 +95,7 @@
doom-emacs doom-emacs
neovide neovide
osu-lazer-bin # typochecker: disable-line osu-lazer-bin # typochecker: disable-line
prismlauncher
sbctl sbctl
]; ];

View file

@ -15,6 +15,7 @@ in
./nautilus.nix ./nautilus.nix
./neovim-nightly.nix ./neovim-nightly.nix
./vim.nix ./vim.nix
./prismlauncher.nix
# Nur # Nur
./nur.nix ./nur.nix

View file

@ -0,0 +1,5 @@
{outputs, ...}: _final: prev: let
inherit (prev.stdenv.hostPlatform) system;
in {
prismlauncher = outputs.packages.${system}.prismlauncher';
}

10
pkgs/prismlauncher'.nix Normal file
View file

@ -0,0 +1,10 @@
{
prismlauncher,
jdk17,
jdk21,
jdk8,
jdk25,
}:
prismlauncher.override {
jdks = [jdk17 jdk21 jdk8 jdk25];
}